• Petr Mladek's avatar
    workqueue: Interrupted create_worker() is not a repeated event · 60f54038
    Petr Mladek authored
    kthread_create_on_node() might get interrupted(). It is rare but realistic.
    For example, when an unbound workqueue is allocated in module_init()
    callback. It is done in the context of the "modprobe" process. And,
    for example, systemd might kill pending processes when switching root
    from initrd to the booted system.
    
    The interrupt is a one-off event and the race might be hard to reproduce.
    It is always worth printing.
    Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    60f54038
workqueue.c 174 KB