HomeFreeBSD

Release laundered vnode pages to the head of the inactive queue.

Description

Release laundered vnode pages to the head of the inactive queue.

The swap pager enqueues laundered pages near the head of the inactive queue
to avoid another trip through LRU before reclamation. This change adds
support for this behaviour to the vnode pager and makes use of it in UFS and
ext2fs. Some ioflag handling is consolidated into a common subroutine so
that this support can be easily extended to other filesystems which make use
of the buffer cache. No changes are needed for ZFS since its putpages
routine always undirties the pages before returning, and the laundry
thread requeues the pages appropriately in this case.

Reviewed by: alc, kib
Differential Revision: https://reviews.freebsd.org/D8589

Details

Provenance
markjAuthored on
Reviewer
alc
Differential Revision
D8589: Release laundered vnode pages to the head of the inactive queue
Parents
rS309061: MFC r308689:
Branches
Unknown
Tags
Unknown