aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/cgroup-defs.h
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2024-06-12 09:24:07 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:30:09 -0700
commit520de595b403eb3f5c1d3f7760fdfac7ad02a564 (patch)
treee2e61d9d7a6456dd1d22762d572b03e224ce9e53 /include/linux/cgroup-defs.h
parentmm: report per-page metadata information (diff)
downloadwireguard-linux-520de595b403eb3f5c1d3f7760fdfac7ad02a564.tar.xz
wireguard-linux-520de595b403eb3f5c1d3f7760fdfac7ad02a564.zip
mm/hugetlb_cgroup: identify the legacy using cgroup_subsys_on_dfl()
Patch series "mm/hugetlb_cgroup: rework on cftypes", v3. This patchset provides an intuitive view of the control files through static templates of cftypes. This improves the readability of the code. This patch (of 3): Currently the numa_stat file encodes 1 into .private using the micro MEMFILE_PRIVATE() to identify the legacy. Actually, we can use cgroup_subsys_on_dfl() instead. This is helpful to handle .private in the static templates in the next patch. Link: https://lkml.kernel.org/r/20240612092409.2027592-1-xiujianfeng@huawei.com Link: https://lkml.kernel.org/r/20240612092409.2027592-2-xiujianfeng@huawei.com Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/cgroup-defs.h')
0 files changed, 0 insertions, 0 deletions