mm: account reaped page cache on inode cache pruning
commit5f8aefd44e64ed2f6950a1dcc77309b7dd9979f4
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Tue, 10 Jan 2012 23:07:18 +0000 (10 15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:42 +0000 (10 16:30 -0800)
tree524db6828c07e0f83f94d799cbc1bbb7dd8e6084
parentf90ac3982a78d36f894824636beeef13361d7c59
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/inode.c