Re: [PATCH v6 00/12] extend task comm from 16 to 24

From
Alexei Starovoitov <hidden>
Date
2021-10-25 18:10:25
Also in
bpf, linux-fsdevel, linux-mm, linux-rdma, lkml, netdev
Reply to
Yafang Shao, 2021-10-25
On Mon, Oct 25, 2021 at 1:33 AM Yafang Shao [off-list ref] wrote:
There're many truncated kthreads in the kernel, which may make trouble
for the user, for example, the user can't get detailed device
information from the task comm.

This patchset tries to improve this problem fundamentally by extending
the task comm size from 16 to 24. In order to do that, we have to do
some cleanups first.
It looks like a churn that doesn't really address the problem.
If we were to allow long names then make it into a pointer and use 16 byte
as an optimized storage for short names. Any longer name would be a pointer.
In other words make it similar to dentry->d_iname.
Thread (47 messages) 47 messages, 6 authors, last reply 2021-10-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help