[systemd-devel] Improving module loading

Umut Tezduyar Lindskog umut at tezduyar.com
Tue Dec 16 07:54:24 PST 2014


Hi,

Is there a reason why systemd-modules-load is loading modules
sequentially? Few things can happen simultaneously like resolving the
symbols etc. Seems like modules_mutex is common on module loads which
gets locked up on few occasions throughout the execution of
sys_init_module.

The other thought is, what is the preferred way of loading modules
when they are needed. Do they have to be loaded on ExecStartPre= or as
a separate service which has ExecStart that uses kmod to load them?
Wouldn't it be useful to have something like ExecStartModule=?

Umut


More information about the systemd-devel mailing list