diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2001-11-08 18:09:18 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-11-08 18:09:18 +0000 |
| commit | 8ba1f55b492856574dfc3d12b71278a0fe8e8b7c (patch) | |
| tree | d2f7444efc068aa98c002626c3f0d85ad39eabe8 | |
| parent | 0ea56610b435c9f689878d2e3bb282c485b29021 (diff) | |
Notes
| -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); |
