[systemd-devel] Improving module loading

"Jóhann B. Guðmundsson" johannbg at gmail.com
Tue Dec 16 09:59:03 PST 2014


On 12/16/2014 03:54 PM, Umut Tezduyar Lindskog wrote:
> 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=?


Kernel modules should never be loaded from type systemd units

JBG


More information about the systemd-devel mailing list