]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: account reaped page cache on inode cache pruning
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 8 Dec 2011 04:41:41 +0000 (15:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:18:55 +0000 (15:18 +1100)
commit8ae354ed1393746989d3b5b0db16e6764bae8c6c
tree15b686d3b36de616b5d910017c534f20079832fd
parentabb6f98d45a6a7d1f04c913f88da3599a9ab8556
mm: account reaped page cache on inode cache pruning

Inode cache pruning indirectly reclaims page-cache by invalidating mapping
pages.  Let's account them into reclaim-state to notice this progress in
memory reclaimer.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/inode.c