On Wed, 19 Jun 2024 01:55:27 +0000 Xiu Jianfeng <xiujianfeng@xxxxxxxxxx> wrote: > When CONFIG_DEBUG_LOCK_ALLOC is enabled, the following commands can > trigger a bug, > > mount -t cgroup2 none /sys/fs/cgroup > cd /sys/fs/cgroup > echo "+hugetlb" > cgroup.subtree_control [...] > > Fixes: e18df2889ff9 ("mm/hugetlb_cgroup: prepare cftypes based on template") > Reported-by: kernel test robot <oliver.sang@xxxxxxxxx> > Closes: https://lore.kernel.org/oe-lkp/202406181046.8d8b2492-oliver.sang@xxxxxxxxx > Signed-off-by: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx> > > --- > v3: remove #ifdef CONFIG_DEBUG_LOCK_ALLOC in struct cftype I confirmed the issue is fixed. Tested-by: SeongJae Park <sj@xxxxxxxxxx> Closes: https://lore.kernel.org/20240618233608.400367-1-sj@xxxxxxxxxx [...] Thanks, SJ