Skip to content

Commit

Permalink
Revert "bdi: Do not use freezable workqueue"
Browse files Browse the repository at this point in the history
This reverts commit c801b7e.

This commit causes devices to randomly freeze on 4.14 and 4.19 kernels.
This happens mostly during suspend. Force restarting the device via button combination leaves no ramoops or logs.
  • Loading branch information
freak07 committed Aug 11, 2021
1 parent ce4fbe4 commit 89b1e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/backing-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ static int __init default_bdi_init(void)
{
int err;

bdi_wq = alloc_workqueue("writeback", WQ_MEM_RECLAIM | WQ_UNBOUND |
WQ_SYSFS, 0);
bdi_wq = alloc_workqueue("writeback", WQ_MEM_RECLAIM | WQ_FREEZABLE |
WQ_UNBOUND | WQ_SYSFS, 0);
if (!bdi_wq)
return -ENOMEM;

Expand Down

0 comments on commit 89b1e3a

Please sign in to comment.