]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: account reaped page cache on inode cache pruning
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Fri, 2 Dec 2011 03:11:58 +0000 (14:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Dec 2011 04:19:18 +0000 (15:19 +1100)
commit4b3151b641e4b52a604eb18c03026d3d2b85f020
treef2b4571c78fabb4d24b37c80a54291fc386c2b0d
parentfec0e1bbe07b7cbc69884a20dca4aad51778d13d
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