Re: [2.6 patch] i386: always use 4k stacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Wed, 16 Nov 2005 09:03:32 +0100,
Arjan van de Ven <[email protected]> escribió:


> * more stack space is available for interrupts compared to 2.4 kernels
>    - in 2.4 kernels only 2Kb was available for interrupt context (to
>      keep 4K available for user context). With complex softirqs such as
>      PPP and firewall rules and nested interrupts this wasn't always
>      enough. Compared to 2.6-with-8Kstacks is a bit harder; there is
>      2Kb extra available there compared to 2.4 and arguably some of that
>      extra is for interrupts.


I would like to contribute that listing with two non-technical reasons
more:

 * Encourages good code. Due to the 4 Kb stacks patch several parts of
	the kernel have gone on diet, improving the quality of the code
	(see ndiswrapper, ndis drivers can overflow the stack even with
	8KB stacks, the 4KB patch will force them to develop a _real_
	safe solution for that, improving the quality of ndiswrapper).

 * Some distros are enabling 4KB (fedora), other distros aren't, so
	having a single stack size option will make 3rd party modules
	distribution easier (some propietary drivers may not be caring
	about making their drivers work with 4Kb stacks due to the lack
	of uniformity)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux