diff options
| author | Johannes Weiner <[email protected]> | 2019-05-13 17:18:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-05-14 09:47:46 -0700 |
| commit | 1a61ab8038e724a6d8aa59e7d4931a119483294d (patch) | |
| tree | f91cd17590278cd22731b1b62632a11e212c51e6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e0ee0e71078abbcadd4cbc38fb8570551fccc103 (diff) | |
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/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions