• Tejun Heo's avatar
    workqueue: implement WQ_NON_REENTRANT · 18aa9eff
    Tejun Heo authored
    With gcwq managing all the workers and work->data pointing to the last
    gcwq it was on, non-reentrance can be easily implemented by checking
    whether the work is still running on the previous gcwq on queueing.
    Implement it.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    18aa9eff
workqueue.c 65.3 KB