HomeFreeBSD

cache: make negative shrinker round robin on all lists every time

Description

cache: make negative shrinker round robin on all lists every time

Previously it would check 4, 3, 2, 1 lists. In practice by the time
it is getting called all lists have some elements and consequently
this does not result in new evictions.

Nonetheless, the code is clearer.

Tested by: pho

Details

Provenance
mjgAuthored on Jul 14 2020, 9:19 PM
Parents
rGa110fa2ee119: cache: remove numcalls
Branches
Unknown
Tags
Unknown

Event Timeline