2024-06-05 07:32:46

by Xiu Jianfeng

[permalink] [raw]
Subject: [PATCH v2 -next 0/3] mm/hugetlb_cgroup: rework on cftypes

Hi,

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

Changes from v1:
- Fix smatch warnings of 'tmpl->name'

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 | 302 ++++++++++++++++++++++------------------
2 files changed, 164 insertions(+), 143 deletions(-)

--
2.34.1



2024-06-07 07:42:26

by Oscar Salvador

[permalink] [raw]
Subject: Re: [PATCH v2 -next 0/3] mm/hugetlb_cgroup: rework on cftypes

On Wed, Jun 05, 2024 at 07:01:30AM +0000, Xiu Jianfeng wrote:
> Hi,
>
> This patchset provides an intuitive view of the control files through
> static templates of cftypes, improve the readability of the code.

Just dropping by to say that I plan to have a look into this today/tomorrow.


--
Oscar Salvador
SUSE Labs