mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "bdi: Do not use freezable workqueue"
This reverts commit c801b7e6784c67bb2d7d5f4ba0c81d53cbbf1465. 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. Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com> Change-Id: I5bc87804724430a5ca85b5563105a79b6f730182
This commit is contained in:
parent
c24f68e00a
commit
afeded30eb
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user