[parisc-linux] [PATCH] limit thread stack size with >4K pages

Kyle McMartin kyle at mcmartin.ca
Sat Mar 17 10:23:32 MDT 2007


On Sat, Mar 17, 2007 at 08:47:44AM -0500, James Bottomley wrote:
> That's a bit ugly ... and would break if someone added new page sizes.
> Can't we do something like
> 
> #if PAGE_BITS > 16
> #define THREAD_ORDER 0
> #else
> #define THREAD_ORDER (16 - PAGE_BITS)
> #endif
> 

Nice.



More information about the parisc-linux mailing list