* [PATCH] workqueue.c: Shorten events_freezable_power_efficient name
@ 2024-01-25 19:05 Audra Mitchell
2024-01-25 19:12 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Audra Mitchell @ 2024-01-25 19:05 UTC (permalink / raw)
To: tj; +Cc: jiangshanlai, linux-kernel, raquini
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>
---
kernel/workqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 76e60faed892..9b5890c51853 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -6691,7 +6691,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 ||
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] workqueue.c: Shorten events_freezable_power_efficient name
2024-01-25 19:05 [PATCH] workqueue.c: Shorten events_freezable_power_efficient name Audra Mitchell
@ 2024-01-25 19:12 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2024-01-25 19:12 UTC (permalink / raw)
To: Audra Mitchell; +Cc: jiangshanlai, linux-kernel, raquini
On Thu, Jan 25, 2024 at 02:05:32PM -0500, Audra Mitchell wrote:
> 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>
Applied to wq/for-6.9.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-25 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-25 19:05 [PATCH] workqueue.c: Shorten events_freezable_power_efficient name Audra Mitchell
2024-01-25 19:12 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®