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
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc
This commit is contained in:
chungkai
2022-07-12 09:54:43 +00:00
committed by TreeHugger Robot
parent aec7fae739
commit f5ed634ec7
2 changed files with 21 additions and 0 deletions

View File

@@ -13,6 +13,17 @@
# 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_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
ifdef AUTOMOTIVE_PRODUCT_PATH
#RBC# include_top device/google/auto_tcu
#RBC# include_top device/google/pixel_tcu

View File

@@ -14,6 +14,16 @@
# 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_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
ifdef AUTOMOTIVE_PRODUCT_PATH
#RBC# include_top device/google/auto_tcu
#RBC# include_top device/google/pixel_tcu