workqueue changes for v4.5-rc1
Hello, Linus.
workqueue changes for v4.5. One cleanup patch and three to improve the debuggability. Workqueue now has a stall detector which dumps workqueue state if any worker pool hasn't made forward progress over a certain amount of time (30s by default) and also triggers a warning if a workqueue which can be used in memory reclaim path tries to wait on something which can't be. These should make workqueue hangs a lot easier to debug.
Thanks.
The following changes since commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc:
Linux 4.4 (2016-01-10 15:01:32 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git
for you to fetch changes up to 392b20caaf77b68c2039815568c0391da5a95ff9:
Merge branch 'for-4.5' into test-merge-for-4.5 (2016-01-11 14:05:12 -0500)
----------------------------------------------------------------
Tejun Heo (4):
workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueue
watchdog: introduce touch_softlockup_watchdog_sched()
workqueue: implement lockup detector
Merge branch 'for-4.5' into test-merge-for-4.5
wanghaibin (1):
workqueue: simplify the apply_workqueue_attrs_locked()
Documentation/kernel-parameters.txt | 9 ++ include/linux/sched.h | 4 + include/linux/workqueue.h | 6 + kernel/sched/clock.c | 2 +- kernel/time/tick-sched.c | 6 +- kernel/watchdog.c | 18 ++- kernel/workqueue.c | 220 ++++++++++++++++++++++++++++++++++-- lib/Kconfig.debug | 11 ++ 8 files changed, 261 insertions(+), 15 deletions(-)
Signature · 1 line
tejun
Hello, Linus. I messed up the request-pull part of the previous message. Here's the correct one.
workqueue changes for v4.5. One cleanup patch and three to improve the debuggability. Workqueue now has a stall detector which dumps workqueue state if any worker pool hasn't made forward progress over a certain amount of time (30s by default) and also triggers a warning if a workqueue which can be used in memory reclaim path tries to wait on something which can't be. These should make workqueue hangs a lot easier to debug.
Thanks.
The following changes since commit 527e9316f8ec44bd53d90fb9f611fa7ffff52bb9:
Linux 4.4-rc4 (2015-12-06 15:43:12 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-4.5
for you to fetch changes up to 6201171e3b2c02992e62448636631a0dfe4e9d20:
workqueue: simplify the apply_workqueue_attrs_locked() (2016-01-07 11:04:34 -0500)
----------------------------------------------------------------
Tejun Heo (3):
workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueue
watchdog: introduce touch_softlockup_watchdog_sched()
workqueue: implement lockup detector
wanghaibin (1):
workqueue: simplify the apply_workqueue_attrs_locked()
Documentation/kernel-parameters.txt | 9 ++ include/linux/sched.h | 4 + include/linux/workqueue.h | 6 + kernel/sched/clock.c | 2 +- kernel/time/tick-sched.c | 6 +- kernel/watchdog.c | 18 ++- kernel/workqueue.c | 220 ++++++++++++++++++++++++++++++++++-- lib/Kconfig.debug | 11 ++ 8 files changed, 261 insertions(+), 15 deletions(-)
Signature · 1 line
tejun