Am 16.10.20 um 14:28 schrieb Stefan Metzmacher via samba-technical: >> I just found that proc_task_name() handles PF_WQ_WORKER special >> and cat /proc/$pid/comm can expose something like: >> kworker/u17:2-btrfs-worker-high >> >> ps and top still truncate, but that can be fixed. > > I commented on https://gitlab.com/procps-ng/procps/-/issues/51 Ok, it's already fixed in newer versions: https://gitlab.com/procps-ng/procps/-/commit/2cfdbbe897f0d4e41460c7c2b92acfc5804652c8 So it would be great to let proc_task_name() expose more verbose for io-wq tasks in order to avoid the limit of set_task_comm(). metze