projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: account reaped page cache on inode cache pruning
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
inode.c
diff --git
a/fs/inode.c
b/fs/inode.c
index
8753575
..
4fa4f09
100644
(file)
--- a/
fs/inode.c
+++ b/
fs/inode.c
@@
-776,6
+776,8
@@
void prune_icache_sb(struct super_block *sb, int nr_to_scan)
else
__count_vm_events(PGINODESTEAL, reap);
spin_unlock(&sb->s_inode_lru_lock);
+ if (current->reclaim_state)
+ current->reclaim_state->reclaimed_slab += reap;
dispose_list(&freeable);
}