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
Parents
rS363201: cache: remove numcalls
Branches
Unknown
Tags
Unknown