workqueue: Shorten events_freezable_power_efficient name
authorAudra Mitchell <audra@redhat.com>
Thu, 25 Jan 2024 19:05:32 +0000 (14:05 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 25 Jan 2024 19:11:40 +0000 (09:11 -1000)
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>
kernel/workqueue.c

index 8ca65665efe9666f2a702705395d4482d41538d4..ee6aa1b897e0c2f6a5f8b27659569f390c4be13a 100644 (file)
@@ -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 ||