Commit 7bb8b777 authored by Bhaktipriya Shridhar's avatar Bhaktipriya Shridhar Committed by Borislav Petkov

EDAC, wq: Remove deprecated create_singlethread_workqueue()

Replace the deprecated create_singlethread_workqueue() with
alloc_ordered_workqueue() with WQ_MEM_RECLAIM. This is the identity

It's not recommended to stall it from memory pressure. Hence,
WQ_MEM_RECLAIM has been set to ensure forward progress under memory
Signed-off-by: Bhaktipriya Shridhar's avatarBhaktipriya Shridhar <>
Cc: Tejun Heo <>
Cc: linux-edac <>
Link: default avatarBorislav Petkov <>
parent 9bcd919e
......@@ -27,7 +27,7 @@ EXPORT_SYMBOL_GPL(edac_stop_work);
int edac_workqueue_setup(void)
wq = create_singlethread_workqueue("edac-poller");
wq = alloc_ordered_workqueue("edac-poller", WQ_MEM_RECLAIM);
if (!wq)
return -ENODEV;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment