Messages in this thread | | | Date | Wed, 20 Oct 2004 11:43:58 -0400 | From | Timothy Miller <> | Subject | Re: [PATCH 1/3] Separate IRQ-stacks from 4K-stacks option |
| |
Hugh Dickins wrote:
> > Wasn't Andrea worried, a couple of months back, about nested interrupts > overflowing the 4K interrupt stack? He was trying to work out how to > have an 8K interrupt stack even with the 4K task stack, proposed thread > info at both top and bottom of stack; but his "current" still looked to > me like it'd be significantly more costly than the present one.
Yeah, one of the driving forces behind going to 4K task stacks is that you significantly reduce the amount of kernel memory reserved for user processes. But then, there came the requirement to keep around a handful of irq stacks which doesn't hurt.
Given the finite and small number of IRQ stacks required, I see no reason not to make them 8K, other than for elegance sake. You're not really wasting much memory by giving IRQ's 8k stacks.
Yes, I know, it does feel icky, though. :)
- 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/
| |