]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
workqueue.c: Increase workqueue name length
authorAudra Mitchell <audra@redhat.com>
Mon, 15 Jan 2024 17:08:22 +0000 (12:08 -0500)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:16 +0000 (18:19 -0400)
commit43a181f8f41aca27e7454cf44a6dfbccc8b14e92
treec1c03c5d253c5d1502d7f5c32d491167102d7bd7
parentc1362eae861db28b1608b9dc23e49634fe87b63b
workqueue.c: Increase workqueue name length

[ Upstream commit 31c89007285d365aa36f71d8fb0701581c770a27 ]

Currently we limit the size of the workqueue name to 24 characters due to
commit ecf6881ff349 ("workqueue: make workqueue->name[] fixed len")
Increase the size to 32 characters and print a warning in the event
the requested name is larger than the limit of 32 characters.

Signed-off-by: Audra Mitchell <audra@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Stable-dep-of: 5797b1c18919 ("workqueue: Implement system-wide nr_active enforcement for unbound workqueues")
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/workqueue.c