From: Jeff Layton Date: Mon, 4 Feb 2013 13:18:06 +0000 (-0500) Subject: nfsd: register a shrinker for DRC cache entries X-Git-Tag: v3.9-rc1~40^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e7f2c9450968303d24b48fec9da8abebcc0036;p=pandora-kernel.git nfsd: register a shrinker for DRC cache entries Since we dynamically allocate them now, allow the system to call us up to release them if it gets low on memory. Since these entries aren't replaceable, only free ones that are expired or that are over the cap. The the seeks value is set to '1' however to indicate that freeing the these entries is low-cost. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed