mm: account reaped page cache on inode cache pruning
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / inode.c
index 8753575..4fa4f09 100644 (file)
@@ -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);
 }