HomeFreeBSD

Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m).

Description

Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m).

These calls are not the same in general: the former will dequeue the
page if it is enqueued, while the latter will just leave it alone. But,
all existing uses of the former apply to unmanaged pages, which are
never enqueued in the first place. No functional change intended.

Reviewed by: kib
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20470

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D20470: Use vm_page_unwire_noq() instead of vm_page_unwire(PQ_NONE).
Parents
rS348784: MFC r348500:
Branches
Unknown
Tags
Unknown