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
Tony Hutter <hutter2@llnl.gov>Committed on Sep 14 2022, 12:59 AM
Parents
rG15b64fbc94cc: Importing from cachefile can trip assertion
Branches
Unknown
Tags
Unknown