Re: [PATCH] proc: revert to show stack information in/proc/{pid}/status

From: Stefani Seibold
Date: Fri Jan 01 2010 - 11:10:22 EST


Am Freitag, den 01.01.2010, 16:49 +0100 schrieb Andi Kleen:
> KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> writes:
> >
> > Anyway, I revert the regresstion patch as other regression patches. if you really want
> > this feature, you have three options.
> >
> > 1. create new /proc file instead to use /proc/pid/status.
> > 2. improve performance until typical use-case don't notice regression.
> > 3. change ps and other /proc related userland implementation and resubmit this patch.
> >
> > But even if you choose anything, You have to test both its functional and performance
> > _before_ submitting kernel patch.
>
>
> 4. Leave everything alone (revert all the commits) and use a ptrace
> based tool to get this information when you need it.
>

Without the stack_start and the fix for the bogus x86_64 KSTP_ESP it
wouldn't be possible.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/