All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] workqueue: break local execution guarantee of unbound work items
@ 2016-02-09 23:14 Tejun Heo
  2016-02-09 23:14 ` [PATCH 1/3] Revert "workqueue: make sure delayed work run in local cpu" Tejun Heo
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Tejun Heo @ 2016-02-09 23:14 UTC (permalink / raw)
  To: torvalds, umgwanakikbuti, mhocko, jslaby, tglx, pmladek, jack,
	ben, sasha.levin, shli, daniel.bilik, gregkh
  Cc: linux-kernel, kernel-team

Hello,

Workqueue used to implicitly guarantee local execution of unbound work
items.  Recent timer updates broke that for delayed work items and the
attempt to restore it ended up causing more harm than good.  It has
been decided to take the chance and officially break it.

This patchset reverts 874bbfe600a6 ("workqueue: make sure delayed work
run in local cpu"), expands wq_unbound_cpu_mask so that it also
applies to unbound work items queued on percpu workqueues, and
implements a debug feature which forces wq_unbound_cpu_mask based
round-robin selection to flush out usages which depend on the local
execution guarantee.

I'll push the patchset through wq/for-4.5-fixes soon.

The patchset contains the following three patches.

 0001-Revert-workqueue-make-sure-delayed-work-run-in-local.patch
 0002-workqueue-schedule-WORK_CPU_UNBOUND-work-on-wq_unbou.patch
 0003-workqueue-implement-workqueue.debug_force_rr_cpu-deb.patch

and available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git review-rr_cpu

 Documentation/kernel-parameters.txt |   11 ++++++
 kernel/workqueue.c                  |   61 ++++++++++++++++++++++++++++++++----
 lib/Kconfig.debug                   |   15 ++++++++
 3 files changed, 81 insertions(+), 6 deletions(-)

Thanks.

--
tejun

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-15 13:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 23:14 [PATCHSET] workqueue: break local execution guarantee of unbound work items Tejun Heo
2016-02-09 23:14 ` [PATCH 1/3] Revert "workqueue: make sure delayed work run in local cpu" Tejun Heo
2016-02-15 13:14   ` Michal Hocko
2016-02-09 23:14 ` [PATCH 2/3] workqueue: schedule WORK_CPU_UNBOUND work on wq_unbound_cpumask CPUs Tejun Heo
2016-02-09 23:14 ` [PATCH 3/3] workqueue: implement "workqueue.debug_force_rr_cpu" debug feature Tejun Heo
2016-02-15 13:18   ` Michal Hocko
2016-02-10  0:53 ` [PATCHSET] workqueue: break local execution guarantee of unbound work items Linus Torvalds
2016-02-10  8:01 ` Jiri Slaby
2016-02-10 15:57   ` Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.