Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 93a05e65 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Ensure memory shrinker doesn't waste time in rpcauth_prune_expired()



The 'cred_unused' list, that is traversed by rpcauth_cache_shrinker is
ordered by time. If we hit a credential that is under the 60 second garbage
collection moratorium, we should exit because we know at that point that
all successive credentials are subject to the same moratorium...

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d300a41e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment