linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 -next 0/3] mm/hugetlb_cgroup: rework on cftypes
@ 2024-06-12  9:24 Xiu Jianfeng
  2024-06-12  9:24 ` [PATCH v3 -next 1/3] mm/hugetlb_cgroup: identify the legacy using cgroup_subsys_on_dfl() Xiu Jianfeng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Xiu Jianfeng @ 2024-06-12  9:24 UTC (permalink / raw)
  To: akpm, muchun.song; +Cc: linux-mm, linux-kernel, osalvador

Hi,

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

Changes from v2:
 - Add Reviewed-by tag of Oscar (the 1st patch)
 - Rebuild cft->private unconditionally

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-18 13:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12  9:24 [PATCH v3 -next 0/3] mm/hugetlb_cgroup: rework on cftypes Xiu Jianfeng
2024-06-12  9:24 ` [PATCH v3 -next 1/3] mm/hugetlb_cgroup: identify the legacy using cgroup_subsys_on_dfl() Xiu Jianfeng
2024-06-12  9:24 ` [PATCH v3 -next 2/3] mm/hugetlb_cgroup: prepare cftypes based on template Xiu Jianfeng
2024-06-12  9:24 ` [PATCH v3 -next 3/3] mm/hugetlb_cgroup: switch to the new cftypes Xiu Jianfeng
     [not found]   ` <CGME20240618125536eucas1p1c62068f858a59d23fca29bf98efb9323@eucas1p1.samsung.com>
2024-06-18 12:55     ` Marek Szyprowski
2024-06-18 13:08       ` xiujianfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox