memcg/hugetlb: remove memcg hugetlb try-commit-cancel protocol
authorJoshua Hahn <joshua.hahnjy@gmail.com>
Wed, 11 Dec 2024 20:39:51 +0000 (12:39 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Jan 2025 06:40:58 +0000 (22:40 -0800)
commit1d8f136a421f26747e58c01281cba5bffae8d289
tree0efa9e22cc839474e3a1e2453c9e261fe158f7dc
parent991135774c0e05a4734e6d32aa03b00355e4cac9
memcg/hugetlb: remove memcg hugetlb try-commit-cancel protocol

This patch fully removes the mem_cgroup_{try, commit, cancel}_charge
functions, as well as their hugetlb variants.

Link: https://lkml.kernel.org/r/20241211203951.764733-4-joshua.hahnjy@gmail.com
Signed-off-by: Joshua Hahn <joshua.hahnjy@gmail.com>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c