commit | fca839c00a12d682cb59b3b620d109a1d850b262 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Dec 07 10:58:57 2015 -0500 |
committer | Tejun Heo <tj@kernel.org> | Tue Dec 08 11:29:36 2015 -0500 |
tree | 5e7930d002412222645eca18e77343969262f75c | |
parent | 527e9316f8ec44bd53d90fb9f611fa7ffff52bb9 [diff] |
workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueue Task or work item involved in memory reclaim trying to flush a non-WQ_MEM_RECLAIM workqueue or one of its work items can lead to deadlock. Trigger WARN_ONCE() if such conditions are detected. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org>