Skip to content

Commit

Permalink
configs: Enable HOTPLUG_CPU
Browse files Browse the repository at this point in the history
This works and can be useful for
debugging/benchmarking/low power use

$ nproc
4
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu3/online
0
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu2/online
0
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu1/online
0
$ nproc
1

Signed-off-by: Dom Cobley <[email protected]>
  • Loading branch information
popcornmix committed Oct 17, 2024
1 parent 3dbd780 commit abeb021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ CONFIG_ARM64_ERRATUM_2441009=y
# CONFIG_CAVIUM_ERRATUM_27456 is not set
CONFIG_ARM64_VA_BITS_39=y
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/bcm2712_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CONFIG_ARM64_ERRATUM_2441009=y
CONFIG_ARM64_16K_PAGES=y
CONFIG_ARM64_VA_BITS_47=y
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
Expand Down

0 comments on commit abeb021

Please sign in to comment.