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.

Subsequent to 7b74d84 ("Merge 4.14.240 into android-4.14-stable"), this patch causes
devices to randomly freeze on downstream kernels. This happens mostly during
suspend. Force restarting the device via button combination leaves no ramoops or logs.

Signed-off-by: atndko <[email protected]>
Signed-off-by: engstk <[email protected]>
  • Loading branch information
freak07 authored and engstk committed Jul 18, 2022
1 parent e71edd3 commit 87983cc
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 87983cc

Please sign in to comment.