]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm/memcontrol.c: fix memory.stat item ordering
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 26 Oct 2018 22:06:45 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:26:33 +0000 (16:26 -0700)
commite9b257ed150c1f43912bd66031185598451f68a9
treeccc55bee9dea93626c58515dbbb5e8d594501fc9
parent4b85afbdacd290c7a22c96df40a6433fdcacb509
mm/memcontrol.c: fix memory.stat item ordering

The refault stats go better with the page fault stats, and are of
higher interest than the stats on LRU operations. In fact they used to
be grouped together; when the LRU operation stats were added later on,
they were wedged in between.

Move them back together. Documentation/admin-guide/cgroup-v2.rst
already lists them in the right order.

Link: http://lkml.kernel.org/r/20181010140239.GA2527@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c