[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZYSwieA7FeYLh5Ey@mtj.duckdns.org>
Date: Fri, 22 Dec 2023 06:39:21 +0900
From: Tejun Heo <tj@...nel.org>
To: Audra Mitchell <audra@...hat.com>
Cc: linux-kernel@...r.kernel.org, raquini@...hat.com,
jiangshanlai@...il.com
Subject: Re: [PATCH] workqueue.c: Change workqueue to accept variable length
name
Hello,
On Fri, Dec 15, 2023 at 02:39:54PM -0500, Audra Mitchell wrote:
> Currently we limit the size of the workqueue name to 24 characters due to
> commit ecf6881ff349 ("workqueue: make workqueue->name[] fixed len")
> As device names increase in size a static size for the workqueue name no
> longer satisfies the size requirement, leading to truncated workqueue
> names as we append the device name to the workqueue name. Truncation of
> the workqueue names can cause issues when debugging as each is unique to
> the associated device. Bring back the flexibility of a variable length
> workqueue name to prevent truncation.
I'm not necessarily against it but workqueue code uses that name to
construct rescuer names which are exposed through /proc/PID/comm and so on,
so too long a name can become a nuisance too. Can you give some examples of
the names where 24 char limit is an issue? Can they be shortened?
Thanks.
--
tejun
Powered by blists - more mailing lists