From: Trond Myklebust Date: Thu, 13 May 2010 16:51:06 +0000 (-0400) Subject: SUNRPC: Ensure memory shrinker doesn't waste time in rpcauth_prune_expired() X-Git-Tag: v2.6.35-rc1~490^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a05e65c090dda9cbd79d0cf57b65c4dbd8da55;p=pandora-kernel.git 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 --- Reading git-diff-tree failed