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

Xiu Jianfeng posted 3 patches 1 year, 8 months ago
There is a newer version of this series
include/linux/hugetlb.h |   5 -
mm/hugetlb_cgroup.c     | 302 ++++++++++++++++++++++------------------
2 files changed, 164 insertions(+), 143 deletions(-)
[PATCH v2 -next 0/3] mm/hugetlb_cgroup: rework on cftypes
Posted by Xiu Jianfeng 1 year, 8 months ago
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
Re: [PATCH v2 -next 0/3] mm/hugetlb_cgroup: rework on cftypes
Posted by Oscar Salvador 1 year, 8 months ago
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