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/