summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_mutex_protocol.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2007-11-30 07:14:42 +0000
committeralc <alc@FreeBSD.org>2007-11-30 07:14:42 +0000
commit7e64e9843c86bf55f1675397d4e3fa03eb978896 (patch)
tree9ac3c7756e7a5658ca1bbbb5c4a247761de93fd2 /lib/libkse/thread/thr_mutex_protocol.c
parent39911d1f8271132636fdc616e40573bad0577e82 (diff)
downloadFreeBSD-src-7e64e9843c86bf55f1675397d4e3fa03eb978896.zip
FreeBSD-src-7e64e9843c86bf55f1675397d4e3fa03eb978896.tar.gz
Improve get_pv_entry()'s handling of low-memory conditions. After page
allocation fails and pv entries are reclaimed, there may be an unused pv entry in a pv chunk that survived the reclamation. However, previously, after reclamation, get_pv_entry() did not look for an unused pv entry in a surviving pv chunk; it simply retried the page allocation. Now, it does look for an unused pv entry before retrying the page allocation. Note: This only applies to RELENG_7. Earlier branches use a different pv entry allocator. MFC after: 6 weeks
Diffstat (limited to 'lib/libkse/thread/thr_mutex_protocol.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud