diff options
| author | pooka <pooka@NetBSD.org> | 2009-09-08 20:57:59 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2009-09-08 20:57:59 +0000 |
| commit | 3c5c932b98a24fd2a662a15fc3d1b2bafb8cef10 (patch) | |
| tree | f40e634f84370aabd5fa78049aea9ed607a467ec /sys/dev/dm/dm_dev.c | |
| parent | 1b05a6d80af80b6138d27f589d1683d75477f12a (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
