Re: [PATCH] limit thread stack size with >4K pages

Kyle McMartin <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.