[PATCH] workqueue.c: Shorten events_freezable_power_efficient name

Audra Mitchell posted 1 patch 1 year, 11 months ago
kernel/workqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] workqueue.c: Shorten events_freezable_power_efficient name
Posted by Audra Mitchell 1 year, 11 months ago
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
Re: [PATCH] workqueue.c: Shorten events_freezable_power_efficient name
Posted by Tejun Heo 1 year, 11 months ago
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