Messages in this thread | | | Date | Tue, 31 Aug 2004 16:54:10 -0700 | From | Roland McGrath <> | Subject | Re: [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/
| |