HomeFreeBSD

Improve get_pv_entry()'s handling of low-memory conditions. After page
rS174104Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
alcAuthored on
Parents
rS174103: New errata: FreeBSD-SA-07:09.random, FreeBSD-SA-07:10.gtar.
Branches
Unknown
Tags
Unknown

Event Timeline