]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages().
authormarkj <markj@FreeBSD.org>
Thu, 13 Feb 2020 23:18:35 +0000 (23:18 +0000)
committermarkj <markj@FreeBSD.org>
Thu, 13 Feb 2020 23:18:35 +0000 (23:18 +0000)
commitb9f89d3339a4b03e914adc5dc2ea8ed2df438a03
tree647d4e9eff1def351dba4b8ed6b63ef2fb72fc67
parent65c30662b633bbf470c18dba2d823171d5f97ad9
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
sys/vm/vm_page.c