NFS: Add an ACCESS cache memory shrinker
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 25 Jul 2006 15:28:19 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:29 +0000 (23:24 -0400)
A pinned inode may in theory end up filling memory with cached ACCESS
calls. This patch ensures that the VM may shrink away the cache in these
particular cases.
The shrinker works by iterating through the list of inodes on the global
nfs_access_lru_list, and removing the least recently used access
cache entry until it is done (or until the entire cache is empty).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found