mbox series

[-next,0/3] mm/hugetlb_cgroup: rework on cftypes

Message ID 20240603120506.1837322-1-xiujianfeng@huawei.com (mailing list archive)
Headers show
Series mm/hugetlb_cgroup: rework on cftypes | expand

Message

Xiu Jianfeng June 3, 2024, 12:05 p.m. UTC
Hi,

This patchset provides an intuitive view of the control files through
static templates of cftypes, improve the readability of the code.

Xiu Jianfeng (3):
  mm/hugetlb_cgroup: identify the legacy using cgroup_subsys_on_dfl()
  mm/hugetlb_cgroup: prepare cftypes based on template
  mm/hugetlb_cgroup: switch to the new cftypes

 include/linux/hugetlb.h |   5 -
 mm/hugetlb_cgroup.c     | 303 ++++++++++++++++++++++------------------
 2 files changed, 165 insertions(+), 143 deletions(-)