lkml.org 
[lkml]   [2004]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cleanup ptrace stops and remove notify_parent
> For TASK_DEAD and TASK_TRACED, might you be hiding some underlying state?

Not really.

> I want to display stuff like:
>
> T stopped (not traced)
> TX stopped, and being traced
> RX running or runnable, and being traced
> ZE zombie, and trying to exit
> RXE running, trying to exit, and traced

These distinctions don't exist in any data structures, except for the
PF_EXITING flag.

> It's troubling the way TASK_DEAD and TASK_TRACED show up as
> actual states and hide any other stuff. I'd much prefer them
> to be flags of some sort.

That's a different implementation than what we've got now. Feel free to
try to make it work. Linus has talked before about treating the state as a
bitmask, but the code is not actually written that way now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.045 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site