From 60ef8d69497427eaf71da7534b2361470b552217 Mon Sep 17 00:00:00 2001 From: Robin Hsu Date: Mon, 14 Oct 2024 02:50:00 +0000 Subject: [PATCH] gs101: Disable kmem cgroup accounting Disable cgroup kernel memory accounting to avoid unnecessary overhead similar change ag/22891292 but now back-port to gs101 Flag: NONE kernel config Bug: 373232814 Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases -t com.google.android.perfwbs.pts.KernelModuleTest and alternative tests on forrest. Change-Id: I4ab5d20a2d74c023c6fca26b32c8acc67fcd2582 Signed-off-by: Robin Hsu --- BoardConfig-common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 22a3c979..9483afff 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -44,6 +44,7 @@ BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 an BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all rcutree.enable_rcu_lazy BOARD_KERNEL_CMDLINE += swiotlb=noforce +BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs TARGET_NO_BOOTLOADER := true