diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-10-29 08:38:55 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2019-10-30 07:20:18 -0700 |
commit | 8c1051918e1aaf7610ddb0e6ef5cb6d97abe3d82 (patch) | |
tree | cd2e211b59ec1740d0f55b4e11a4d4164c845aa7 /trusty/coverage/coverage_test.cpp | |
parent | f77c98a7804f7017c9c2c4634a90ce7acab86238 (diff) |
libmodprobe: Do not reload modules previously instantiated
For modprobe operation.
For an interlocking driver set of about 50 modules, the impact of
their dependencies resulted in a 30 second impact in boot time
trying to load previously loaded modules. This impact is handily
eliminated by keeping a list of modules paths that have been loaded
and skipping them proactively.
Test: Confirmed device boot and 50 module set of drivers functions.
Test: libmodprobe_tests
Bug: 142938937
Bug: 140827934
Change-Id: Iccd11399d6043b38cbd5f93578ee202022e7770c
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions