workqueue: Add stall detector sample moduleAdd a sample module under samples/workqueue/stall_detector/ thatreproduces a workqueue stall caused by PF_WQ_WORKER misuse. Themodule queues two work i
workqueue: Add stall detector sample moduleAdd a sample module under samples/workqueue/stall_detector/ thatreproduces a workqueue stall caused by PF_WQ_WORKER misuse. Themodule queues two work items on the same per-CPU pool, then clearsPF_WQ_WORKER and sleeps in wait_event_idle(), hiding from theconcurrency manager and stalling the second work item indefinitely.This is useful for testing the workqueue watchdog stall diagnostics.Signed-off-by: Breno Leitao <leitao@debian.org>Acked-by: Song Liu <song@kernel.org>Signed-off-by: Tejun Heo <tj@kernel.org>
show more ...