Re: Patch for show_task

From: Pete Zaitcev (zaitcev@redhat.com)
Date: Fri Apr 04 2003 - 01:48:44 EST


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



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:22 EST