Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   pooka
Date:           Tue Sep  8 20:57:59 UTC 2009

Modified Files:
        src/sys/dev: rnd.c

Log Message:
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 locked,
wakeups will simply be skipped.

fix from Juho Salminen in PR kern/42020.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/rnd.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