Dave Hansen wrote: > The kernel currently uses an 8k stack, per task. Here is the > infrastructure needed to allow us to halve that. > > B-interrupt_stacks-2.5.50+bk-5.patch > Have special stacks for use in interrupts. > struct restart_block restart_block; > + struct thread_info *irq_stack; /* pointer to cpu irq stack */ > > __u8 supervisor_stack[0]; > }; > @@ -48,6 +50,7 @@ > #define TI_PRE_COUNT 0x00000010 > #define TI_ADDR_LIMIT 0x00000014 > #define TI_RESTART_BLOCK 0x0000018 > +#define TI_IRQ_STACK 0x00000022 I imagined a * after restart_block, and thus made the TI_IRQ_STACK incorrect. The attached patch is correct it. I just switched restart_block and irq_stack's places. -- Dave Hansen haveblue@us.ibm.com