Source-Changes archive

[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:           Wed Jan 15 13:51:58 UTC 2014

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:
Convert linux_idr(9) to use spin locks.

idr_for_each is unlocked; caller must exclude modifications.

Eventually this should be rewritten with pserialize and a fancy
bitmap algorithm, but this *actually* works for now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 \
    src/sys/external/bsd/drm2/include/linux/idr.h
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \
    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.




Home | Main Index | Thread Index | Old Index