[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230805234552.2556114-1-atomlin@atomlin.com>
Date: Sun, 6 Aug 2023 00:45:52 +0100
From: Aaron Tomlin <atomlin@...mlin.com>
To: tj@...nel.org
Cc: atomlin@...mlin.com, jiangshanlai@...il.com,
linux-kernel@...r.kernel.org, peterz@...radead.org
Subject: Re: [RFC PATCH 0/2] workqueue: Introduce PF_WQ_RESCUE_WORKER
> Note that the name changes to the work item the worker is currently
> executing. It won't stay that way. Workers are shared across the
> workqueues, so I'm not sure "identify and account all kernel threads" is
> working as well as you think it is.
Hi Tejun,
Indeed. The point is that these kworker kthreads are easily identifiable.
> We can certainly rename them to indicate that they are rescuers - e.g.
> maybe krescuer? But, at the moment, the proposed reason seems rather
> dubious.
Personally, I would prefer "kworker/r-%s" and then include the specified
workqueue's name e.g. "kworker/r-ext4-rsv-conver". So the rescuer task's
name is more consistent with the current naming scheme.
I will send a follow up patch.
Kind regards,
--
Aaron Tomlin
Powered by blists - more mailing lists