lkml.org 
[lkml]   [2002]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH] (0/4) stack updates for x86
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.040 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site