]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: implement "workqueue.debug_force_rr_cpu" debug feature
authorTejun Heo <tj@kernel.org>
Tue, 9 Feb 2016 22:59:38 +0000 (17:59 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 9 Feb 2016 22:59:38 +0000 (17:59 -0500)
commitddc1e881e3b91f0cf6f0a0b03c3083721a0b6821
tree20030c728af441a4efa01c2612be4883bd431115
parent434754ccedba14c21928e5617d1202a3bf4a13ed
workqueue: implement "workqueue.debug_force_rr_cpu" debug feature

Workqueue used to guarantee local execution for work items queued
without explicit target CPU.  The guarantee is gone now which can
break some usages in subtle ways.  To flush out those cases, this
patch implements a debug feature which forces round-robin CPU
selection for all such work items.

The debug feature defaults to off and can be enabled with a kernel
parameter.  The default can be flipped with a debug config option.

If you hit this commit during bisection, please refer to 4e2777a68b2c
("Revert "workqueue: make sure delayed work run in local cpu"") for
more information and ping me.

Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/kernel-parameters.txt
kernel/workqueue.c
lib/Kconfig.debug