summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_dev.c
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2009-09-08 20:57:59 +0000
committerpooka <pooka@NetBSD.org>2009-09-08 20:57:59 +0000
commit3c5c932b98a24fd2a662a15fc3d1b2bafb8cef10 (patch)
treef40e634f84370aabd5fa78049aea9ed607a467ec /sys/dev/dm/dm_dev.c
parent1b05a6d80af80b6138d27f589d1683d75477f12a (diff)
rnd_wakeup_readers() uses rndpool_mtx for its own consistency
management, so it cannot be called with the mutex held. There is no consistency requirement to synchronize over the whole add-and-wakeup operation, as if data is consumed in the window the mutex is unlocked, wakeups will simply be skipped. fix from Juho Salminen in PR kern/42020.
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
0 files changed, 0 insertions, 0 deletions