path: root/mm/page_alloc.c
diff options
authorZhou Guanghui <>2021-03-12 21:08:30 -0800
committerLinus Torvalds <>2021-03-13 11:27:31 -0800
commitbe6c8982e4ab9a41907555f601b711a7e2a17d4c (patch)
tree34bd9b41ea3801217ffb49f7b75b4affe92376f6 /mm/page_alloc.c
parent61bf318eac2c13356f7bd1c6a05421ef504ccc8a (diff)
mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument
Rename mem_cgroup_split_huge_fixup to split_page_memcg and explicitly pass in page number argument. In this way, the interface name is more common and can be used by potential users. In addition, the complete info(memcg and flag) of the memcg needs to be set to the tail pages. Link: Signed-off-by: Zhou Guanghui <> Acked-by: Johannes Weiner <> Reviewed-by: Zi Yan <> Reviewed-by: Shakeel Butt <> Acked-by: Michal Hocko <> Cc: Hugh Dickins <> Cc: "Kirill A. Shutemov" <> Cc: Nicholas Piggin <> Cc: Kefeng Wang <> Cc: Hanjun Guo <> Cc: Tianhong Ding <> Cc: Weilong Chen <> Cc: Rui Xiang <> Cc: <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions