Skip to content

Commit

Permalink
riscv: configs: Disable CONFIG_CGROUP for 32-bit
Browse files Browse the repository at this point in the history
MEMCG increases struct page size, so disable it for 32-bit configs.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
  • Loading branch information
guoren83 authored and RevySR committed Feb 6, 2024
1 parent cd2399d commit eb11ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/configs/32-bit.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_ARCH_RV32I=y
CONFIG_32BIT=y
# CONFIG_PORTABLE is not set
CONFIG_NONPORTABLE=y
CONFIG_CGROUPS=n
1 change: 1 addition & 0 deletions arch/riscv/configs/64ilp32.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_ARCH_RV64ILP32=y
CONFIG_32BIT=y
# CONFIG_PORTABLE is not set
CONFIG_NONPORTABLE=y
CONFIG_CGROUPS=n

0 comments on commit eb11ad0

Please sign in to comment.