kernel: Add CONFIG_CGROUP_HUGETLB=y as part of the cgroup fragments

Kata guest os cgroup is not work properly kata guest kernel config option
CONFIG_CGROUP_HUGETLB is not set, leading to:

root@clr-b08d402cc29d44719bb582392b7b3466 ls /sys/fs/cgroup/hugetlb/
ls: cannot access '/sys/fs/cgroup/hugetlb/': No such file or directory

Fixes: #4953

Signed-off-by: Miao Xia <xia.miao1@zte.com.cn>
This commit is contained in:
Miao Xia 2022-08-19 09:26:33 +08:00 committed by Fabiano Fidêncio
parent d797036b77
commit 731d39df45
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ CONFIG_CGROUP_FREEZER=y
CONFIG_CPUSETS=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CGROUP_PERF=y
CONFIG_SOCK_CGROUP_DATA=y

View File

@ -1 +1 @@
95
96