Re: [RFC] better visibility into kworkers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/16/2018 04:37 PM, Linus Torvalds wrote:
> On Wed, May 16, 2018 at 1:13 PM Linus Torvalds <
> torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
>> Craig? Is there some "proper channel" I should go through to ask for a
>> bigger possible command line?
> 
> Side note: the size of 'comm[]' in the kernel has changed before. It
> originally used to be just 8 characters.
> 
> Admittedly, that changed to 16 a _loong_ time ago (in 0.99.2, back in
> 1993), but it is probably a good idea for procps to not assume a hard limit
> regardless.
> 
> My longest basename right now seems to be
> 
>    'evolution-addressbook-factory-subprocess'
> 
> which is 40 characters. So obviously a 16-byte 'comm[]' was a lot back in
> 1993, but we might want to grow it again, regardless of that whole kworker
> thing.

Do we care at all that userspace has been wanting a safe interface for
seproctitle() for a long time? Particularly one without a 16-byte limit.
Might we solve two problems at once?

-- 
Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux