summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorAudra Mitchell <audra@redhat.com>2024-01-25 20:05:32 +0100
committerTejun Heo <tj@kernel.org>2024-01-25 20:11:40 +0100
commit8318d6a6362f5903edb4c904a8dd447e59be4ad1 (patch)
tree456b29784cf9284364878e143ebe5a37c646bdc2 /kernel/workqueue.c
parenttools/workqueue/wq_dump.py: Clean up code and drop duplicate information (diff)
downloadlinux-8318d6a6362f5903edb4c904a8dd447e59be4ad1.tar.xz
linux-8318d6a6362f5903edb4c904a8dd447e59be4ad1.zip
workqueue: Shorten events_freezable_power_efficient name
Since we have set the WQ_NAME_LEN to 32, decrease the name of events_freezable_power_efficient so that it does not trip the name length warning when the workqueue is created. Signed-off-by: Audra Mitchell <audra@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 8ca65665efe9..ee6aa1b897e0 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -6706,7 +6706,7 @@ void __init workqueue_init_early(void)
WQ_FREEZABLE, 0);
system_power_efficient_wq = alloc_workqueue("events_power_efficient",
WQ_POWER_EFFICIENT, 0);
- system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_power_efficient",
+ system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_pwr_efficient",
WQ_FREEZABLE | WQ_POWER_EFFICIENT,
0);
BUG_ON(!system_wq || !system_highpri_wq || !system_long_wq ||