HomeFreeBSD

Have vm_page_{deactivate,launder}() requeue already-queued pages.

Description

Have vm_page_{deactivate,launder}() requeue already-queued pages.

In many cases the page is not enqueued so the change will have no
effect. However, the change is needed to support an optimization in
the fault handler and in some cases (sendfile, the buffer cache) it
was being emulated by the caller anyway.

Reviewed by: alc
Tested by: pho
MFC after: 2 weeks
X-Differential Revision: https://reviews.freebsd.org/D14625

Details

Provenance
markjAuthored on
Reviewer
alc
Parents
rS331129: Eliminate some unneeded intermediate variables. Eliminate some redundant
Branches
Unknown
Tags
Unknown