There is no need to count waiters for the runningbufspace.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c7c536c7f5
commit
da4ca6c8ab
@ -561,7 +561,7 @@ waitrunningbufspace(void)
|
||||
|
||||
mtx_lock(&rbreqlock);
|
||||
while (runningbufspace > hirunningspace) {
|
||||
++runningbufreq;
|
||||
runningbufreq = 1;
|
||||
msleep(&runningbufreq, &rbreqlock, PVM, "wdrain", 0);
|
||||
}
|
||||
mtx_unlock(&rbreqlock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user