HomeFreeBSD

Apply arc_shrink_shift to ARC above arc_c_min

Description

Apply arc_shrink_shift to ARC above arc_c_min

It makes sense to free memory in smaller chunks when approaching
arc_c_min to let other kernel subsystems to free more, since after
that point we can't free anything. This also matches behavior on
Linux, where to shrinker reported only the size above arc_c_min.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #13794

Details

Provenance
mavAuthored on Sep 2 2022, 8:21 PM
GitHub <noreply@github.com>Committed on Sep 2 2022, 8:21 PM
Parents
rG0b30dc484f7e: FreeBSD: Cleanup dead code from VFS
Branches
Unknown
Tags
Unknown