diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-03 16:58:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-03 16:58:50 +0000 |
commit | 2784d9216b447abfa133e8598a58d0b918aae037 (patch) | |
tree | cd9400448982b19ddadcb3f59926b8cec78ba3ac /sys/kern/kern_ntptime.c | |
parent | 14edc67da50a85d8cd0bdaf6ecbdc84586572985 (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/kern_ntptime.c')
0 files changed, 0 insertions, 0 deletions