summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-01-10 05:06:37 +0000
committergrog <grog@FreeBSD.org>2001-01-10 05:06:37 +0000
commit59b7117afff92fcbcdabb4a76512d83ea39254e4 (patch)
treef47bc4480c4fbdc95851fbb351a141f814ac12c6 /lib/libc/stdlib/random.c
parent67641fa38c65d68b660c226abaee3da40f462b1c (diff)
downloadFreeBSD-src-59b7117afff92fcbcdabb4a76512d83ea39254e4.zip
FreeBSD-src-59b7117afff92fcbcdabb4a76512d83ea39254e4.tar.gz
Remove obsolete functions [un]lockplex and [un]lockvol.
Rewrite lockrange and unlockrange. The lock table is now a fixed size, so there is no possibility for race conditions when expanding. The current size (256 locked ranges) should be large enough that it makes no sense to expand it. To do expansion right would require quiescing the plex (requiring at least 256 I/O completions), and the performance implications are horrendous. Add a mutex per plex for accessing the lock table. Based on analysis by: tegge
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud