diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2003-11-11 09:09:26 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2003-11-11 09:09:26 +0000 |
commit | ac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352 (patch) | |
tree | 52b7a53677c3a899636d9bfd5b624d537168d34a /sys/kern/subr_hints.c | |
parent | bf26c6db3dff0843a0a13469213db1071081eacb (diff) | |
download | FreeBSD-src-ac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352.zip FreeBSD-src-ac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352.tar.gz |
Bound the number of iterations a thread can perform inside
ktr_resize_pool(); this eliminates a potential livelock.
Return ENOSPC only if we encountered an out-of-memory condition when
trying to increase the pool size.
Reviewed by: jhb, bde (style)
Diffstat (limited to 'sys/kern/subr_hints.c')
0 files changed, 0 insertions, 0 deletions