Re: [PATCH 0/2] Don't show PF_IO_WORKER in /proc/<pid>/task/
From: Linus Torvalds
Date: Thu Mar 25 2021 - 15:40:13 EST
On Thu, Mar 25, 2021 at 12:34 PM Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
>
> 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.
I don't know what the gdb logic is, but maybe there's some other
option that makes gdb not react to them?
Linus