HomeFreeBSD

cache: avoid hardcoded cache padding

Description

cache: avoid hardcoded cache padding

Replace CACHE_LARGE_PAD with rounding up to the alignment of struct
namecache_ts.

No functional change.

Reviewed by: olce, markj
Suggested by: jhb
Effort: CHERI upstreaming
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D54553

Details

Provenance
brooksAuthored on Jan 9 2026, 2:15 PM
Reviewer
olce
Differential Revision
D54553: cache: avoid hardcoded cache padding
Parents
rGfb0bdbea2ed4: cache: avoid hardcoded zone alignment
Branches
Unknown
Tags
Unknown