diff options
author | dillon <dillon@FreeBSD.org> | 2001-11-08 18:09:18 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-11-08 18:09:18 +0000 |
commit | 08792e81f7b1fbeb088bb232448bf9bce38c0f1a (patch) | |
tree | d2f7444efc068aa98c002626c3f0d85ad39eabe8 /sys/kern/vfs_bio.c | |
parent | 571866fa141cf4cc3865fb7f564c535aa2238ec6 (diff) | |
download | FreeBSD-src-08792e81f7b1fbeb088bb232448bf9bce38c0f1a.zip FreeBSD-src-08792e81f7b1fbeb088bb232448bf9bce38c0f1a.tar.gz |
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
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index ba55013..4e84027 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -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); |