On Wed, Aug 22, 2001 at 02:45:47PM +0900, Atsushi Nemoto wrote: > There are some magic constant numbers about stack layout in > thread_saved_pc() and get_wchan() function. > > I made a patch to eliminate these magic numbers. This patch analyzes > some functions prologue codes in heuristic way at run-time. "ps -l" > (and "MAGIC SYSRQ" feature) works fine with this patch. Very nice, this part of the kernel used to be rather fragile on all architectures; when wchan computation broke usually nobody complained and this looks like a major improvment! Thanks, Ralf