]> 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>
Tue, 6 Dec 2011 03:59:23 +0000 (14:59 +1100)
commit791f6921179f34995858516086c33e34eebb2900
tree7b1bbbf76560900e18447e60e48dd733e29bc69c
parentb8f44370d9076cd0cc9ec8470ec4db762d01777c
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