On Jul 12 2007 21:14, Jeremy Fitzhardinge wrote:
quoted text >
> Well, smaller stacks are better where possible, but there's nothing magic about
> 4k.
There is. It is exactly one page on x86. I cannot remember who said it when,
but anything greater than a page implies some penalty.
quoted text > Sure, its mostly enough, but there's no particular reason to believe it
> will be enough for everything. You could state a priori that all kernel
> code paths must fit into 4k of stack, but that's pretty arbitrary.
Jan
--
-
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH][RFC] 4K stacks default, not a debug thing any mo... , Jan Engelhardt , (Fri Jul 13, 5:19 am)