summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-03-03 16:58:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-03-03 16:58:50 +0000
commit2784d9216b447abfa133e8598a58d0b918aae037 (patch)
treecd9400448982b19ddadcb3f59926b8cec78ba3ac /sys/kern/vfs_subr.c
parent14edc67da50a85d8cd0bdaf6ecbdc84586572985 (diff)
If we attempted reschedule two times without suceeding, uiomove will yield,
giving other processes a chance to run. A process feeding a huge buffer to {read,write}{,v} on a file that doesn't need to wait for I/O, could have hogged a lot of cpu in the kernel, blocking all userland activity. Based on a similiar fix in FreeBSD.
Diffstat (limited to 'sys/kern/vfs_subr.c')
0 files changed, 0 insertions, 0 deletions