diff options
| -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 ba550137647d..4e84027a1cf3 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); |
