lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1473967821-24363-1-git-send-email-tj@kernel.org>
Date:   Thu, 15 Sep 2016 15:30:14 -0400
From:   Tejun Heo <tj@...nel.org>
To:     torvalds@...ux-foundation.org
Cc:     linux-kernel@...r.kernel.org, jiangshanlai@...il.com,
        akpm@...ux-foundation.org, kernel-team@...com
Subject: [PATCHSET wq/for-4.9] workqueue: make workqueue available very early during boot

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ