lkml.org 
[lkml]   [2004]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

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