From: Wenchao Hao <haowenchao22@gmail.com>
To: Wenchao Hao <haowenchao2@huawei.com>, Tejun Heo <tj@kernel.org>,
Lai Jiangshan <jiangshanlai@gmail.com>,
Aaron Tomlin <atomlin@atomlin.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] workqueue: Fix rescuer task's name truncated
Date: Thu, 23 May 2024 09:36:57 +0800 [thread overview]
Message-ID: <b09604a0-83b0-4317-85ad-ead3d7d5bb3e@gmail.com> (raw)
In-Reply-To: <20240513140115.3892827-1-haowenchao2@huawei.com>
On 2024/5/13 22:01, Wenchao Hao wrote:
> Task comm of task is limitted to 16, prefix "kworker/R-" is added for
> rescuer worker's task, which cause most task name is truncated as
> following:
>
> root 81 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-xprti]
> root 82 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-cfg80]
> root 85 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-nfsio]
> root 86 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-xfsal]
> root 87 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-xfs_m]
> root 88 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-acpi_]
> root 93 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-iscsi]
> root 95 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-scsi_]
> root 97 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-scsi_]
> root 99 0.0 0.0 0 0 ? I< 11:18 0:00 [kworker/R-scsi_]
>
> I want to fix this issue by split rescuer name to 2 part like other
> kworker, the normal part is "kworker/R" which is set to task_struct's comm,
> another part is wq->name which is added to kworker's desc. These 2 parts
> would be merged in wq_worker_comm().
>
> The first patch fix the rescuer task's name truncated;
> The second patch fix workqueue_struct's name truncated.
>
Friendly ping...
> V2:
> Add another patch to increased worker desc's length to 32 to fix compile
> warning reported:
> https://lore.kernel.org/oe-kbuild-all/202405131400.sEYZHYk2-lkp@intel.com/
>
> Wenchao Hao (2):
> workqueue: Fix rescuer task's name truncated
> workqueue: Increase worker desc's length to 32
>
> include/linux/workqueue.h | 2 +-
> kernel/workqueue.c | 6 +++++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
next prev parent reply other threads:[~2024-05-23 1:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 14:01 [PATCH v2 0/2] workqueue: Fix rescuer task's name truncated Wenchao Hao
2024-05-13 14:01 ` [PATCH v2 1/2] " Wenchao Hao
2024-05-13 14:01 ` [PATCH v2 2/2] workqueue: Increase worker desc's length to 32 Wenchao Hao
2024-05-23 1:36 ` Wenchao Hao [this message]
2024-05-26 18:50 ` [PATCH v2 0/2] workqueue: Fix rescuer task's name truncated Tejun Heo
2024-05-27 1:59 ` Wenchao Hao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b09604a0-83b0-4317-85ad-ead3d7d5bb3e@gmail.com \
--to=haowenchao22@gmail.com \
--cc=atomlin@atomlin.com \
--cc=haowenchao2@huawei.com \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox