1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Placemark an interrupt race in -current which is currently protected by

Giant.  -stable will get spl*() fixes for the race.

Reported by: Rob Anderson <rob@isilon.com>
MFC after:	0 days
This commit is contained in:
Matthew Dillon 2001-11-08 18:09:18 +00:00
parent 0ea56610b4
commit 8ba1f55b49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86194

View File

@ -268,6 +268,10 @@ bufcountwakeup(void)
static __inline void
waitrunningbufspace(void)
{
/*
* XXX race against wakeup interrupt, currently
* protected by Giant. FIXME!
*/
while (runningbufspace > hirunningspace) {
++runningbufreq;
tsleep(&runningbufreq, PVM, "wdrain", 0);