The kernel currently uses an 8k stack, per task. Here is the
infrastructure needed to allow us to halve that. The original work
was by Ben LaHaise. I broke it out into several patches and updated
it for the current kernels.
A-thread_info_cleanup-2.5.50+bk-5.patch
Gets asm-i386/thread_info.h ready for the irqstack and
overflow detection patches
B-interrupt_stacks-2.5.50+bk-5.patch
Have special stacks for use in interrupts.
C-stack_usage_check-2.5.50+bk-5.patch
Check for stack overflows on entry to each funtion. Use gcc's
-p profiling feature to do it.
D-4k-stack-2.5.50+bk-5.patch
make a config option to turn on 4k stacks. (there appears to
be a problem with this right now).
-- Dave Hansen haveblue@us.ibm.com- 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 : Sun Dec 15 2002 - 22:00:15 EST