Re: Patch for show_task

Pete Zaitcev (zaitcev@redhat.com)
Fri, 4 Apr 2003 01:48:44 -0500


> Date: Thu, 3 Apr 2003 22:43:46 -0800
> From: Andrew Morton <akpm@digeo.com>

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.66/2.5.66-mm3/broken-out/show_task-free-stack-fix.patch

I see. What do you say to adding thread_saved_sp() in addition
to thread_saved_pc()? E.g. on sparc that would return
p->thread_info->ti_ksp, then you can calculate free stack.

-- Pete
-
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/