HomeFreeBSD

If the fast path unbusy in vm_page_replace() fails, slow path needs to

Description

If the fast path unbusy in vm_page_replace() fails, slow path needs to
acquire the page lock, which recurses. Avoid the recursion by reusing
the code from vm_page_remove() in a new helper
vm_page_xunbusy_maybelocked().

Reviewed by: alc
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on
Reviewer
alc
Parents
rS301164: MFC: r300169
Branches
Unknown
Tags
Unknown