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 <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
  • Loading branch information
guoren83 authored and RevySR committed Jun 29, 2024
1 parent 5c1ea0f commit d401370
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 d401370

Please sign in to comment.