All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET wq/for-4.9] workqueue: make workqueue available very early during boot
@ 2016-09-15 19:30 Tejun Heo
  2016-09-15 19:30 ` [PATCH 1/7] workqueue: make workqueue available " Tejun Heo
                   ` (8 more replies)
  0 siblings, 9 replies; 43+ messages in thread
From: Tejun Heo @ 2016-09-15 19:30 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, jiangshanlai, akpm, kernel-team

Hello,

Workqueue is currently initialized in an early init call; however,
there are cases where early boot code has to be split and reordered to
come after workqueue initialization or the same code path which makes
use of workqueues is used both before workqueue initailization and
after.  The latter cases have to gate workqueue usages with
keventd_up() tests, which is nasty and easy to get wrong.

This patchset makes workqueue creation and work item
queueing/canceling available from very early during boot which allows
all existing usages of keventd_up() which is removed by the last
patch.

This patchset contains the following seven patches.

 0001-workqueue-make-workqueue-available-early-during-boot.patch
 0002-mce-workqueue-remove-keventd_up-usage.patch
 0003-tty-workqueue-remove-keventd_up-usage.patch
 0004-power-workqueue-remove-keventd_up-usage.patch
 0005-slab-workqueue-remove-keventd_up-usage.patch
 0006-debugobj-workqueue-remove-keventd_up-usage.patch
 0007-workqueue-remove-keventd_up.patch

The patchset is also available in the following git branch.

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

Once the patches are reviewed, I'll route the patches through the
wq/for-4.9 branch.  diffstat follows.  Thanks.

 arch/x86/kernel/cpu/mcheck/mce.c |    2 -
 drivers/tty/vt/vt.c              |    4 --
 include/linux/workqueue.h        |   11 +----
 init/main.c                      |   10 +++++
 kernel/power/qos.c               |   11 -----
 kernel/workqueue.c               |   77 ++++++++++++++++++++++++++++++---------
 lib/debugobjects.c               |    2 -
 mm/slab.c                        |    7 ---
 8 files changed, 78 insertions(+), 46 deletions(-)

--
tejun

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

end of thread, other threads:[~2016-10-19 16:15 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15 19:30 [PATCHSET wq/for-4.9] workqueue: make workqueue available very early during boot Tejun Heo
2016-09-15 19:30 ` [PATCH 1/7] workqueue: make workqueue available " Tejun Heo
2016-09-17 17:23   ` [PATCH v2 " Tejun Heo
2016-10-10 10:22     ` Oops on Power8 (was Re: [PATCH v2 1/7] workqueue: make workqueue available early during boot) Michael Ellerman
2016-10-10 11:17       ` Balbir Singh
2016-10-10 12:53         ` Tejun Heo
2016-10-10 13:22           ` Balbir Singh
2016-10-10 13:02       ` Tejun Heo
2016-10-10 13:14         ` Tejun Heo
2016-10-11 11:22         ` Michael Ellerman
2016-10-11 12:21           ` Balbir Singh
2016-10-14 15:08             ` Tejun Heo
2016-10-15  3:43               ` Balbir Singh
2016-10-14 15:07           ` Tejun Heo
2016-10-15  1:25             ` Balbir Singh
2016-10-15  9:48             ` Michael Ellerman
2016-10-17 18:13               ` Tejun Heo
2016-10-17 12:24             ` Michael Ellerman
2016-10-17 12:24               ` Michael Ellerman
2016-10-17 12:51               ` Balbir Singh
2016-10-18  2:35                 ` Michael Ellerman
2016-10-17 18:15               ` Tejun Heo
2016-10-17 19:30                 ` Tejun Heo
2016-10-18  4:37                   ` Michael Ellerman
2016-10-18 18:58                     ` Tejun Heo
2016-10-19 11:16                       ` Michael Ellerman
2016-10-19 16:15                         ` [PATCH wq/for-4.10] workqueue: move wq_numa_init() to workqueue_init() Tejun Heo
2016-09-15 19:30 ` [PATCH 2/7] mce, workqueue: remove keventd_up() usage Tejun Heo
2016-09-17  7:56   ` Borislav Petkov
2016-09-17 17:24     ` Tejun Heo
2016-09-17 20:26       ` Borislav Petkov
2016-09-15 19:30 ` [PATCH 3/7] tty, " Tejun Heo
2016-09-15 19:30 ` [PATCH 4/7] power, " Tejun Heo
2016-09-15 23:55   ` Rafael J. Wysocki
2016-09-15 19:30 ` [PATCH 5/7] slab, " Tejun Heo
2016-09-15 19:30   ` Tejun Heo
2016-09-22  8:01   ` Joonsoo Kim
2016-09-22  8:01     ` Joonsoo Kim
2016-09-15 19:30 ` [PATCH 6/7] debugobj, " Tejun Heo
2016-09-15 21:19   ` Thomas Gleixner
2016-09-15 19:30 ` [PATCH 7/7] workqueue: remove keventd_up() Tejun Heo
2016-09-15 19:51 ` [PATCHSET wq/for-4.9] workqueue: make workqueue available very early during boot Linus Torvalds
2016-09-16 19:51 ` 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.