]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb_cgroup: switch to the new cftypes
authorXiu Jianfeng <xiujianfeng@huawei.com>
Wed, 12 Jun 2024 09:24:09 +0000 (09:24 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:10 +0000 (19:30 -0700)
commitb79d715c43354010775862cfcd2d01cb04d0de47
tree039b204412f49d95a3a2bedefc0b575c84af3285
parent47179fe03588caa13a9bae642b058901709ddc55
mm/hugetlb_cgroup: switch to the new cftypes

The previous patch has already reconstructed the cftype attributes based
on the templates and saved them in dfl_cftypes and legacy_cftypes.  then
remove the old procedure and switch to the new cftypes.

Link: https://lkml.kernel.org/r/20240612092409.2027592-4-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/hugetlb.h
mm/hugetlb_cgroup.c