diff options
author | Jan Kara | 2017-11-15 17:37:22 -0800 |
---|---|---|
committer | Linus Torvalds | 2017-11-15 18:21:06 -0800 |
commit | 76253fbc8fbf6018401755fc5c07814a837cc832 (patch) | |
tree | 49f17d79cfea0a286ae131e1cee6decf794be693 /kernel/taskstats.c | |
parent | 59c66c5f8c4fb823240d70553c1686ce4e4dd331 (diff) |
mm: move accounting updates before page_cache_tree_delete()
Move updates of various counters before page_cache_tree_delete() call.
It will be easier to batch things this way and there is no difference
whether the counters get updated before or after removal from the radix
tree.
Link: http://lkml.kernel.org/r/20171010151937.26984-5-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions