diff options
author | Hui Su <[email protected]> | 2020-12-18 14:01:41 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-19 11:18:37 -0800 |
commit | 9a1ac2288cf16f9406ca54ef221bfcf262393b15 (patch) | |
tree | 34adb0cb7dd27fbd6578df5516e3dc5774c46d35 /scripts/gdb/linux/timerlist.py | |
parent | 93bb59ca5e97a99922a01a43934c18dc7adfd968 (diff) |
mm/memcontrol:rewrite mem_cgroup_page_lruvec()
mem_cgroup_page_lruvec() in memcontrol.c and mem_cgroup_lruvec() in
memcontrol.h is very similar except for the param(page and memcg) which
also can be convert to each other.
So rewrite mem_cgroup_page_lruvec() with mem_cgroup_lruvec().
[[email protected]: add missed warning in mem_cgroup_lruvec]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: warn on missing memcg on mem_cgroup_page_lruvec()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/20201108143731.GA74138@rlk
Signed-off-by: Hui Su <[email protected]>
Signed-off-by: Alex Shi <[email protected]>
Signed-off-by: Lorenzo Stoakes <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: Yafang Shao <[email protected]>
Cc: Chris Down <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions