diff options
author | Trond Myklebust | 2010-05-13 18:51:06 +0200 |
---|---|---|
committer | Trond Myklebust | 2010-05-14 21:09:34 +0200 |
commit | 93a05e65c090dda9cbd79d0cf57b65c4dbd8da55 (patch) | |
tree | bcffc5640b3038292362afb4283965b94f60cc0f /fs | |
parent | SUNRPC: Dont run rpcauth_cache_shrinker() when gfp_mask is GFP_NOFS (diff) | |
download | kernel-qcow2-linux-93a05e65c090dda9cbd79d0cf57b65c4dbd8da55.tar.gz kernel-qcow2-linux-93a05e65c090dda9cbd79d0cf57b65c4dbd8da55.tar.xz kernel-qcow2-linux-93a05e65c090dda9cbd79d0cf57b65c4dbd8da55.zip |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions