NFSD: Replace nfsd_prune_bucket()
[ Upstream commit a9507f6a ] Enable nfsd_prune_bucket() to drop the bucket lock while calling kfree(). Use the same pattern that Jeff recently introduced in the NFSD filecache. A few percpu operations are moved outside the lock since they temporarily disable local IRQs which is expensive and does not need to be done while the lock is held. Reviewed-by:Jeff Layton <jlayton@kernel.org> Stable-dep-of: c135e126 ("NFSD: Refactor the duplicate reply cache shrinker") Signed-off-by:
Chuck Lever <chuck.lever@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment