[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42020 CVS commit: [netbsd-5] 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] src/sys/dev
Date: Wed, 16 Sep 2009 04:01:55 +0000
Module Name: src
Committed By: snj
Date: Wed Sep 16 04:01:55 UTC 2009
src/sys/dev [netbsd-5]: 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 -r18.104.22.168 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 |