summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-05 08:54:06 -0400
committerTejun Heo <tj@kernel.org>2016-09-16 11:08:39 -0400
commitfa07fb6a4ecad41d373eaf1574b9d54b4f0c1e75 (patch)
tree6443de8db4ce01d1cb351b59559190a72985abd5 /init
parent77e5bdf9f7b2d20939c8d807f3e68778d6e1557a (diff)
downloadlinux-fa07fb6a4ecad41d373eaf1574b9d54b4f0c1e75.tar.gz
linux-fa07fb6a4ecad41d373eaf1574b9d54b4f0c1e75.tar.xz
workqueue: dump workqueue state on sanity check failures in destroy_workqueue()
destroy_workqueue() performs a number of sanity checks to ensure that the workqueue is empty before proceeding with destruction. However, it's not always easy to tell what's going on just from the warning message. Let's dump workqueue state after sanity check failures to help debugging. Signed-off-by: Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/CACT4Y+Zs6vkjHo9qHb4TrEiz3S4+quvvVQ9VWvj2Mx6pETGb9Q@mail.gmail.com Cc: Dmitry Vyukov <dvyukov@google.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions