linux: config: enable most of cgroup

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent 90b1b23800
commit 25ebf75b6b

@ -29,7 +29,24 @@ make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig
./scripts/config --enable CONFIG_MEMCG ./scripts/config --enable CONFIG_MEMCG
./scripts/config --enable CONFIG_MEMCG_KMEM ./scripts/config --enable CONFIG_MEMCG_KMEM
./scripts/config --enable CONFIG_RT_GROUP_SCHED
./scripts/config --enable CONFIG_SCHED_MM_CID
./scripts/config --enable CONFIG_CGROUP_PIDS
./scripts/config --enable CONFIG_CGROUP_FREEZER
./scripts/config --enable CONFIG_CGROUP_HUGETLB ./scripts/config --enable CONFIG_CGROUP_HUGETLB
./scripts/config --enable CONFIG_CPUSETS
./scripts/config --enable CONFIG_PROC_PID_CPUSET
./scripts/config --enable CONFIG_CGROUP_DEVICE
./scripts/config --enable CONFIG_CGROUP_CPUACCT
./scripts/config --enable CONFIG_CGROUP_PERF
./scripts/config --enable CONFIG_NAMESPACES
./scripts/config --enable CONFIG_UTS_NS
./scripts/config --enable CONFIG_TIME_NS
./scripts/config --enable CONFIG_IPC_NS
./scripts/config --enable CONFIG_USER_NS
./scripts/config --enable CONFIG_PID_NS
./scripts/config --enable CONFIG_NET_NS
./scripts/config --enable CONFIG_CHECKPOINT_RESTORE
./scripts/config --set-str CONFIG_CMDLINE "" ./scripts/config --set-str CONFIG_CMDLINE ""
./scripts/config --disable CONFIG_CMDLINE_FALLBACK ./scripts/config --disable CONFIG_CMDLINE_FALLBACK
@ -90,6 +107,11 @@ make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig
./scripts/config --disable CONFIG_IMA ./scripts/config --disable CONFIG_IMA
./scripts/config --disable CONFIG_EVM ./scripts/config --disable CONFIG_EVM
#./scripts/config --disable CONFIG_VMAP_STACK
#./scripts/config --disable CONFIG_SMP
#make ARCH=riscv CROSS_COMPILE=${CC} menuconfig
echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} Image modules dtbs" echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} Image modules dtbs"
make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} Image modules dtbs make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} Image modules dtbs

@ -152,20 +152,27 @@ CONFIG_MEMCG_KMEM=y
CONFIG_CGROUP_SCHED=y CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set CONFIG_RT_GROUP_SCHED=y
# CONFIG_CGROUP_PIDS is not set CONFIG_CGROUP_PIDS=y
# CONFIG_CGROUP_RDMA is not set # CONFIG_CGROUP_RDMA is not set
# CONFIG_CGROUP_FREEZER is not set CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y CONFIG_CGROUP_HUGETLB=y
# CONFIG_CPUSETS is not set CONFIG_CPUSETS=y
# CONFIG_CGROUP_DEVICE is not set CONFIG_PROC_PID_CPUSET=y
# CONFIG_CGROUP_CPUACCT is not set CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_BPF=y CONFIG_CGROUP_BPF=y
# CONFIG_CGROUP_MISC is not set # CONFIG_CGROUP_MISC is not set
# CONFIG_CGROUP_DEBUG is not set # CONFIG_CGROUP_DEBUG is not set
CONFIG_SOCK_CGROUP_DATA=y CONFIG_SOCK_CGROUP_DATA=y
# CONFIG_NAMESPACES is not set CONFIG_NAMESPACES=y
# CONFIG_CHECKPOINT_RESTORE is not set CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set # CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set # CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set # CONFIG_RELAY is not set
@ -208,7 +215,7 @@ CONFIG_MEMBARRIER=y
CONFIG_KALLSYMS=y CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_BASE_RELATIVE=y CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_KCMP is not set CONFIG_KCMP=y
CONFIG_RSEQ=y CONFIG_RSEQ=y
# CONFIG_DEBUG_RSEQ is not set # CONFIG_DEBUG_RSEQ is not set
# CONFIG_EMBEDDED is not set # CONFIG_EMBEDDED is not set
@ -479,6 +486,7 @@ CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_MMIOWB=y CONFIG_ARCH_HAS_MMIOWB=y
CONFIG_MMIOWB=y CONFIG_MMIOWB=y
CONFIG_FREEZER=y
# #
# Executable file formats # Executable file formats

Loading…
Cancel
Save