HomeFreeBSD

linuxkpi: Fix the shrinker scan target

Description

linuxkpi: Fix the shrinker scan target

Use the number of items scanned to control the duration of the shrink
loop. Otherwise, if a consumer like TTM is not able to free the number
of items requested for some reason, the shrinker keeps looping forever.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D28224

Details

Provenance
markjAuthored on Jan 18 2021, 10:07 PM
Reviewer
manu
Differential Revision
D28224: linuxkpi: Fix the shrinker scan target
Parents
rGa520f5ca580f: armv8crypto: print a message on probe failure
Branches
Unknown
Tags
Unknown