arch: arm64: configs: Disable CONFIG_MEMCG and MEMCG_SWAP
CONFIG_MEMCG is not set Pixel doesn't use the memcg but it hurts 15% performance in minor fault benchmark so disable it until we see strong reason. Bug: 169443770 Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: Ifd9ddcd54559c590260d52f60a2e5e4b79c5480f
This commit is contained in:
@@ -68,6 +68,8 @@ CONFIG_MTK_MUSB_DUAL_ROLE=y
|
||||
CONFIG_MTK_PLATFORM="mt6785"
|
||||
CONFIG_ARCH_MTK_PROJECT="fleur"
|
||||
CONFIG_BLK_CGROUP=y
|
||||
# CONFIG_MEMCG is not set
|
||||
# CONFIG_MEMCG_SWAP is not set
|
||||
CONFIG_MTK_BATTERY_OC_POWER_THROTTLING=y
|
||||
CONFIG_MTK_BATTERY_PERCENTAGE_POWER_THROTTLING=y
|
||||
CONFIG_MTK_LOW_BATTERY_POWER_THROTTLING=y
|
||||
|
||||
@@ -816,7 +816,6 @@ config MEMCG_SWAP
|
||||
config MEMCG_SWAP_ENABLED
|
||||
bool "Swap controller enabled by default"
|
||||
depends on MEMCG_SWAP
|
||||
default y
|
||||
help
|
||||
Memory Resource Controller Swap Extension comes with its price in
|
||||
a bigger memory consumption. General purpose distribution kernels
|
||||
@@ -830,7 +829,6 @@ config MEMCG_SWAP_ENABLED
|
||||
config MEMCG_KMEM
|
||||
bool
|
||||
depends on MEMCG && !SLOB
|
||||
default y
|
||||
|
||||
config BLK_CGROUP
|
||||
bool "IO controller"
|
||||
|
||||
Reference in New Issue
Block a user