HomeFreeBSD

swap_pager: small improvement to find_least

Description

swap_pager: small improvement to find_least

Drop an unneeded test, a branch and a needless computation to save a
few instructions.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D45558

Details

Provenance
dougmAuthored on Jun 11 2024, 4:36 PM
Reviewer
kib
Differential Revision
D45558: swap_pager: small improvement to find_least
Parents
rG0277c0c6f72a: ktrace(1): add more xrefs
Branches
Unknown
Tags
Unknown
Reverted By
rG28af3eb62b73: Revert "swap_pager: small improvement to find_least"