Johannes Weiner 1a61ab8038 mm: memcontrol: replace zone summing with lruvec_page_state()
Instead of adding up the zone counters, use lruvec_page_state() to get the
node state directly.  This is a bit cheaper and more stream-lined.

Link: http://lkml.kernel.org/r/20190228163020.24100-3-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 09:47:46 -07:00
..
2019-05-08 12:25:12 -07:00
2019-05-08 21:35:19 -07:00
2019-04-08 15:58:54 -07:00
2019-05-08 21:35:19 -07:00
2019-05-06 13:47:50 -03:00
2019-05-09 08:26:55 -07:00
2019-05-09 14:33:15 -07:00
2019-04-01 17:46:57 +02:00