Source-Changes archive

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

CVS commit: [netbsd-5] src/sys/dev



Module Name:    src
Committed By:   snj
Date:           Wed Sep 16 04:01:55 UTC 2009

Modified Files:
        src/sys/dev [netbsd-5]: rnd.c

Log Message:
Pull up following revision(s) (requested by pooka in ticket #948):
        sys/dev/rnd.c: revision 1.74
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.71 -r1.71.4.1 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