diff options
| author | 2019-11-30 17:50:03 -0800 | |
|---|---|---|
| committer | 2019-12-01 06:29:18 -0800 | |
| commit | 9da83f3fc74b806ee419a29977ef0239454bd8ec (patch) | |
| tree | add84f74d236529e764b32e130eb9a01eaa1421e /tools/perf/scripts/python | |
| parent | mm/swap.c: trivial mark_page_accessed() cleanup (diff) | |
mm, memcg: clean up reclaim iter array
The mem_cgroup_reclaim_cookie is only used in memcg softlimit reclaim now,
and the priority of the reclaim is always 0. We don't need to define the
iter in struct mem_cgroup_per_node as an array any more. That could make
the code more clear and save some space.
Link: http://lkml.kernel.org/r/1569897728-1686-1-git-send-email-laoar.shao@gmail.com
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
