Module Name: src Committed By: riastradh Date: Mon Dec 30 04:52:11 UTC 2013
Modified Files: src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: idr.h src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_idr.c Log Message: Rewrite idr to use a dumber algorithm that admits pserialized use. drm2 doesn't use them with RCU, but it does use them under spin locks, so an rwlock is not kosher. This algorithm is super-dumb, but the idr API has changed upstream, and this is not performance-critical, so it's not worth investing time in a better algorithm at the moment. To generate a diff of this commit: cvs rdiff -u -r1.1.2.6 -r1.1.2.7 \ src/sys/external/bsd/drm2/include/linux/idr.h cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/external/bsd/drm2/linux/linux_idr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.