HomeFreeBSD

exec_map_first_page: fix an inverse condition introduced in r254138

Description

exec_map_first_page: fix an inverse condition introduced in r254138

While the bug itself was serious, as we could either pass a non-busied
page to vm_pager_get_pages() or leak a busy page, it could only be
triggered under a very rare condition where the page is already inserted
into the object, but it is not valid yet.

Reviewed by: kib
MFC after: 2 weeks

Details

Provenance
avgAuthored on
Reviewer
kib
Parents
rS328995: Fix the WITH_SORT_THREADS build.
Branches
Unknown
Tags
Unknown