HomeFreeBSD

vm_pageout: shrink pageout array

Description

vm_pageout: shrink pageout array

The array passed to vm_pageout_flush, and constructed in a middle-out
fashion, can never use array element zero. Shrink the array by one,
and reduce indices by one, to save that bit of stack space. In the
vm_object version, make the accounting look more like the pageout
version.

Reported by: alc
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D46208

Details

Provenance
dougmAuthored on Aug 2 2024, 2:36 AM
Reviewer
kib
Differential Revision
D46208: vm_pageout: shrink pageout array
Parents
rGb77f618568f2: Add examples to veriexec(8)
Branches
Unknown
Tags
Unknown