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 and reduce 250ms(33%)
Bug: 229794277
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc
This commit is contained in:
chungkai 2022-07-12 10:00:34 +00:00 committed by Chung-Kai (Michael) Mei
parent c337787e1d
commit 364db164bf
2 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # 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/pantah/board-info.txt TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := cheetah TARGET_BOOTLOADER_BOARD_NAME := cheetah
TARGET_SCREEN_DENSITY := 560 TARGET_SCREEN_DENSITY := 560

View file

@ -13,6 +13,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # 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/pantah/board-info.txt TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := panther TARGET_BOOTLOADER_BOARD_NAME := panther
TARGET_SCREEN_DENSITY := 420 TARGET_SCREEN_DENSITY := 420