HomeFreeBSD

vfs_subr: optimize inval_buf_range

Description

vfs_subr: optimize inval_buf_range

Use a pctrie_lookup to avoid walking over low out-of-range buf list
entries, and an early break to avoid the high out-of-range
entries. Avoid writing almost identical loops for the dirty and clean
lists.

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

Details

Provenance
dougmAuthored on Oct 10 2024, 9:06 AM
Reviewer
kib
Differential Revision
D46963: vfs_subr: optimize inval_buf_range
Parents
rGe1a09d1e9df3: sctp: make sctp_free_ifn() static
Branches
Unknown
Tags
Unknown
Reverted By
rGff2263469ad0: Revert "vfs_subr: optimize inval_buf_range"