On Wed, Dec 11, 2024 at 12:39:50PM -0800, Joshua Hahn wrote: > This patch introduces mem_cgroup_charge_hugetlb which combines the logic > of mem_cgroup_hugetlb_try_charge / mem_cgroup_hugetlb_commit_charge and > removes the need for mem_cgroup_hugetlb_cancel_charge. It also reduces > the footprint of memcg in hugetlb code and consolidates all memcg > related error paths into one. > > Signed-off-by: Joshua Hahn <joshua.hahnjy@xxxxxxxxx> Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>