Set PELT HALFLIFE to 8ms before early init boot stage

It's for early boot stage boost. After early init stage, change
it back to the default 32ms.

Bug: 284039815
Test: boot ab tests
Change-Id: I3e623886e97e561086df46f388f9317d4a75c35c
This commit is contained in:
guibing 2023-06-14 00:35:58 +00:00
parent 5f4c896e1c
commit 1b46c33b99
2 changed files with 2 additions and 0 deletions

View file

@ -39,6 +39,7 @@ BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all
BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on
BOARD_KERNEL_CMDLINE += swiotlb=1024
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
BOARD_KERNEL_CMDLINE += sysctl.kernel.sched_pelt_multiplier=4
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
BOARD_KERNEL_CMDLINE += kasan=off
endif