HomeFreeBSD

Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages().

Description

Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages().

After sleeping through a memory shortage, we must return NULL rather
than retry.

Discussed with: jeff
Reported by: pho
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on
Parents
rS357892: Update the zone-global count of cached items in bucket_cache_reclaim().
Branches
Unknown
Tags
Unknown