login
Header Space

 
 

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <7eggert@...>
Cc: Matt Mackall <mpm@...>, Jeremy Fitzhardinge <jeremy@...>, Jesper Juhl <jesper.juhl@...>, Ray Lee <ray-lk@...>, Linux Kernel Mailing List <linux-kernel@...>, William Lee Irwin III <wli@...>, David Chinner <dgc@...>
Date: Sunday, July 15, 2007 - 1:46 pm

On 07/15/2007 07:17 PM, Bodo Eggert wrote:


A thread's kernel stack is a kernel allocation. If you'd fail to allocate it 
you'd supposedly _already_ have swapt out everything that could be swapped out.

Moreoveover -- literally two pages free was hardly his point. The point is 
just that (with a page being the allocation unit) single page allocations 
are guaranteed to succeed if _any_ memory is free, while two adjacent (yes, 
and stacksize aligned) pages will be pretty hard to get by once the system 
has been up and running for some time.

Rene.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RFC] 4K stacks default, not a debug thing any mo..., Rene Herman, (Sun Jul 15, 1:46 pm)
Re: [PATCH][RFC] 4K stacks default, not a debug thing any mo..., William Lee Irwin III, (Tue Jul 17, 1:01 pm)
speck-geostationary