[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2
Module Name: src
Committed By: riastradh
Date: Mon Dec 30 04:52:11 UTC 2013
src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: idr.h
src/sys/external/bsd/drm2/linux [riastradh-drm2]: linux_idr.c
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 -r18.104.22.168 -r22.214.171.124 \
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 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.
Main Index |
Thread Index |