[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42020 CVS commit: src/sys/dev
The following reply was made to PR kern/42020; it has been noted by GNATS.
From: Antti Kantee <pooka%netbsd.org@localhost>
Subject: PR/42020 CVS commit: src/sys/dev
Date: Tue, 8 Sep 2009 20:57:59 +0000
Module Name: src
Committed By: pooka
Date: Tue Sep 8 20:57:59 UTC 2009
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.
Main Index |
Thread Index |