Skip to content

Commit 26fd03e

Browse files
committed
thermal: core: Adjust thermal_wq allocation flags
The thermal workqueue doesn't need to be freezable or per-CPU, so drop WQ_FREEZABLE and WQ_PERCPU from the flags when allocating it. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ rjw: Subject rewrite ] Link: https://patch.msgid.link/3413335.44csPzL39Z@rafael.j.wysocki Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 323803a commit 26fd03e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/thermal/thermal_core.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,8 +1904,7 @@ static int __init thermal_init(void)
19041904
if (result)
19051905
goto error;
19061906

1907-
thermal_wq = alloc_workqueue("thermal_events",
1908-
WQ_FREEZABLE | WQ_POWER_EFFICIENT | WQ_PERCPU, 0);
1907+
thermal_wq = alloc_workqueue("thermal_events", WQ_POWER_EFFICIENT, 0);
19091908
if (!thermal_wq) {
19101909
result = -ENOMEM;
19111910
goto unregister_netlink;

0 commit comments

Comments
 (0)