HomeFreeBSD

linuxkpi: Use pageproc instead of vmproc

Description

linuxkpi: Use pageproc instead of vmproc

According to markj@:
pageproc contains the page daemon and laundry threads, which are
responsible for managing the LRU page queues and writing back dirty
pages. vmproc's main task is to swap out kernel stacks when the system
is under memory pressure, and swap them back in when necessary. It's a
somewhat legacy component of the system and isn't required. You can
build a kernel without it by specifying "options NO_SWAPPING" (which is
a somewhat misleading name), in which vm_swapout_dummy.c is compiled
instead of vm_swapout.c.

Based on this, we want pageproc to emulate kswapd, not vmproc.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D18061

Details

Provenance
bwidawskAuthored on
Reviewer
markj
Differential Revision
D18061: linuxkpi: Use pageproc instead of vmproc
Parents
rS340719: MFC r340108 and r340149
Branches
Unknown
Tags
Unknown