]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: account reaped page cache on inode cache pruning
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 30 Nov 2011 04:11:23 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:47 +0000 (15:13 +1100)
commit560777060ba78645883fe3141a7efbfc03e6819b
treed786bb94192d6fc7e1f260b230d4b6e72b6dd4e9
parentbc7ed56e573011ef932a52bc8019e29d84814c51
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