Thread (17 messages) 17 messages, 5 authors, 2021-04-01

Re: [PATCH 0/2] Don't show PF_IO_WORKER in /proc/<pid>/task/

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-03-25 19:41:49
Also in: lkml

Possibly related (same subject, not in this thread)

On 3/25/21 1:38 PM, Linus Torvalds wrote:
On Thu, Mar 25, 2021 at 12:34 PM Eric W. Biederman
[off-list ref] wrote:
quoted
A quick skim shows that these threads are not showing up anywhere in
proc which appears to be a problem, as it hides them from top.

Sysadmins need the ability to dig into a system and find out where all
their cpu usage or io's have gone when there is a problem.  I general I
think this argues that these threads should show up as threads of the
process so I am not even certain this is the right fix to deal with gdb.
Yeah, I do think that hiding them is the wrong model, because it also
hides them from "ps" etc, which is very wrong.
Totally agree.
I don't know what the gdb logic is, but maybe there's some other
option that makes gdb not react to them?
Guess it's time to dig out the gdb source... I'll take a look.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help