HomeFreeBSD

Eliminate two calls to vm_page_xunbusy() that are both unnecessary and

Description

Eliminate two calls to vm_page_xunbusy() that are both unnecessary and
incorrect from the error cases in exec_map_first_page(). They are
unnecessary because we automatically unbusy the page in vm_page_free()
when we remove it from the object. The calls are incorrect because they
happen after the page is freed, so we might actually unbusy the page
after it has been reallocated to a different object. (This error was
introduced in r292373.)

Reviewed by: kib
MFC after: 1 week

Details

Provenance
alcAuthored on
Reviewer
kib
Parents
rS304049: Add `stats reset` command implementation to NPTv6 module
Branches
Unknown
Tags
Unknown