platform_system_core/libmodprobe
chungkai d84c42e3b3 libmodprobe: allow module with soft dependencies to load in parallel
1. integrate modules which have soft dependencies into parallel loading flow. First, check the soft dependencies are in `module.load`  list. If yes, regard soft dependencies as hard dependencies and load the modules only when their dependencies are loaded. If not, abandon these soft dependencies.

2. also add an allowlist and use the term "load_sequential=1" to load specific modules in sequential.

Test: R4 saves 350ms+ (48%) to load all modules
Bug: 229794277
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I904fe31cd02f9d499dadc537335cadc88d8add70
2022-07-27 04:57:10 +00:00
..
include/modprobe Load kernel modules in parallel 2022-03-18 08:06:07 +00:00
Android.bp Completely migrate init first stage to Soong 2021-06-18 14:26:55 +09:00
libmodprobe.cpp libmodprobe: allow module with soft dependencies to load in parallel 2022-07-27 04:57:10 +00:00
libmodprobe_ext.cpp Load kernel modules in parallel 2022-03-18 08:06:07 +00:00
libmodprobe_ext_test.cpp modprobe: Use more inclusive language for modprobe and libmodprobe 2020-06-15 12:51:38 -07:00
libmodprobe_test.cpp Load kernel modules in parallel 2022-03-18 08:06:07 +00:00
libmodprobe_test.h libmodprobe: parse kernel command line for module options 2019-12-27 13:39:23 -08:00
OWNERS Update libmodprobe's OWNERS. 2021-03-23 17:53:08 -07:00
TEST_MAPPING Add libmodprobe to hwasan-postsubmit 2022-03-18 21:48:29 +00:00