--- - branch: MAIN date: Mon Aug 27 14:14:42 UTC 2018 files: - new: '1.7' old: '1.6' path: src/sys/external/bsd/drm2/include/linux/idr.h pathrev: src/sys/external/bsd/drm2/include/linux/idr.h@1.7 type: modified - new: '1.8' old: '1.7' path: src/sys/external/bsd/drm2/linux/linux_idr.c pathrev: src/sys/external/bsd/drm2/linux/linux_idr.c@1.8 type: modified id: 20180827T141442Z.60bdbe62d5a07dfe8b17af921d1127c89c9efb75 log: | Draft rewrite of idr preload. Previous idr code assumed every caller would definitely call idr_preload, idr_alloc, idr_preload_end, but some callers skip idr_alloc if an intermediate failure happens first, and would therefore leak idr nodes. Use a per-lwp single-node cache instead, and print warnings about leakers. module: src subject: 'CVS commit: src/sys/external/bsd/drm2' unixtime: '1535379282' user: riastradh