Enable load kernel modules in parallel

enable load kernel modules in parallel but load some
specific modules in sequential

Test: reboot more than 5000 times without failure
Bug: 229794277
Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc
Signed-off-by: Chungkai Mei <chungkai@google.com>
This commit is contained in:
chungkai 2022-07-12 10:05:36 +00:00 committed by Chungkai Mei
parent e44238489b
commit 11d6a8329d

View file

@ -20,6 +20,16 @@ else
TARGET_SCREEN_DENSITY := 420
endif
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += vh_sched.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1
BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
TARGET_BOARD_INFO_FILE := device/google/bluejay/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := bluejay
USES_DEVICE_GOOGLE_BLUEJAY := true