From 0bfc85475d5c16b7a1aa16a5ebc1cca7d68d060e Mon Sep 17 00:00:00 2001 From: Robin Hsu Date: Wed, 2 Oct 2024 07:40:17 +0000 Subject: [PATCH] gs201: Disable kmem cgroup accounting Disable cgroup kernel memory accounting to avoid unnecessary overhead similar change ag/22891292 but now back-port to gs201 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: I306b3e608655dc9e5f868a1f1a79e60e5b9b40fd --- BoardConfig-common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 681bb146..3783e9f6 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -49,6 +49,7 @@ BOARD_KERNEL_CMDLINE += cgroup_disable=memory BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all rcutree.enable_rcu_lazy BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on BOARD_KERNEL_CMDLINE += swiotlb=1024 +BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem BOARD_KERNEL_CMDLINE += disable_dma32=on BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs