diff options
author | 2000-03-03 16:58:49 +0000 | |
---|---|---|
committer | 2000-03-03 16:58:49 +0000 | |
commit | f7e5f6f670fb5ad95e6af836a696534eb844dd37 (patch) | |
tree | 3ba159b6f58225d8323e6bac4fe0515af8f00908 /lib/libpthread | |
parent | Keep track of the number of times we trigger a reschedule before the (diff) | |
download | wireguard-openbsd-f7e5f6f670fb5ad95e6af836a696534eb844dd37.tar.xz wireguard-openbsd-f7e5f6f670fb5ad95e6af836a696534eb844dd37.zip |
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 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions