From d8822b9c80fc60d0472b9acd0b6e3a46295f501a Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Tue, 20 Dec 2022 09:37:32 +0000 Subject: [PATCH] Enable load kernel modules in parallel enable load kernel modules in parallel but load some specific modules in sequential Test: Shiba Booted to home 1000 times without issue Bug: 229794277 Change-Id: Idac2ae0765058a0eab718c976c1108292bd36669 Signed-off-by: Chungkai Mei --- husky/BoardConfig.mk | 8 ++++++++ shiba/BoardConfig.mk | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index 041a9bc..b1786be 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -13,6 +13,14 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +# 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_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := husky TARGET_SCREEN_DENSITY := 450 diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index 80d33b9..0b6b3e8 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -13,6 +13,14 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +# 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_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := shiba TARGET_SCREEN_DENSITY := 420