diff options
author | Corey Farrell <git@cfware.com> | 2017-11-21 00:10:58 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-15 10:35:58 -0500 |
commit | 5295c4685aae48bd060ddb8a7fdfffe0dcacfbb9 (patch) | |
tree | 1b1c0a3fbbfeafc5b58a0e085e2b6d90cc0c3392 /codecs | |
parent | 69b82113fa4ab0236b3c0eaf84710cc0e74eb7f6 (diff) |
loader: Rework of load_dynamic_module.
* Split off load_dlopen to perform actual dlopen, check results and log
warnings when needed.
* Use flags which minimize number of calls to dlopen required. First
attempt always uses RTLD_GLOBAL when global_symbols_only is enabled,
RTLD_LOCAL when it is not.
This patch significantly reduces the number of dlopen's performed. With
299 modules my system ran dlopen 857 times before this patch, 655 times
after this patch.
Change-Id: Ib2c9903cfddcc01aed3e01c1e7fe4a3fb9af0f8b
Diffstat (limited to 'codecs')
0 files changed, 0 insertions, 0 deletions