[PATCH 0/2] Support hugetlb charge moving at task migration

From: Baolin Wang
Date: Wed Sep 29 2021 - 06:20:28 EST


Hi,

Now in the hugetlb cgroup, charges associated with a task aren't moved
to the new hugetlb cgroup at task migration, which is odd for hugetlb
cgroup usage. This patch set adds hugetlb cgroup charge moving when
migrate tasks among cgroups, which are based on the memcg charge moving.

Please help to review. Thanks.

Baolin Wang (2):
hugetlb_cgroup: Add interfaces to move hugetlb charge at task
migration
hugetlb_cgroup: Add post_attach interface for tasks migration

mm/hugetlb_cgroup.c | 230 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 230 insertions(+)

--
1.8.3.1