Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 -2
+1 -2
drivers/thermal/thermal_core.c
··· 1904 1904 if (result) 1905 1905 goto error; 1906 1906 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); 1909 1908 if (!thermal_wq) { 1910 1909 result = -ENOMEM; 1911 1910 goto unregister_netlink;