[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42020 CVS commit: [netbsd-5-0] src/sys/dev
The following reply was made to PR kern/42020; it has been noted by GNATS.
From: Soren Jacobsen <snj%netbsd.org@localhost>
Subject: PR/42020 CVS commit: [netbsd-5-0] src/sys/dev
Date: Wed, 16 Sep 2009 04:04:40 +0000
Module Name: src
Committed By: snj
Date: Wed Sep 16 04:04:40 UTC 2009
src/sys/dev [netbsd-5-0]: rnd.c
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 -r184.108.40.206 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 |