Re: [13/18] x86_64: Allow fallback for the stack

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, October 8, 2007 - 5:55 am

On Tuesday 09 October 2007 03:36, Christoph Lameter wrote:

The tight memory restrictions on stack usage do not come about because
of the difficulty in increasing the stack size :) It is because we want to
keep stack sizes small!

Increasing the stack size 4K uses another 4MB of memory for every 1000
threads you have, right?

It would take a lot of good reason to move away from the general direction
we've been taking over the past years that 4/8K stacks are a good idea for
regular 32 and 64 bit builds in general.



The solution has until now always been to fix the problems so they don't
use so much stack. Maybe a bigger stack is OK for you for 1024+ CPU
systems, but I don't think you'd be able to make that assumption for most
normal systems.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Wed Oct 3, 8:59 pm)
Re: [13/18] x86_64: Allow fallback for the stack, Andi Kleen, (Thu Oct 4, 4:56 am)
Re: [13/18] x86_64: Allow fallback for the stack, Peter Zijlstra, (Thu Oct 4, 5:08 am)
Re: [13/18] x86_64: Allow fallback for the stack, Andi Kleen, (Thu Oct 4, 5:25 am)
Re: [13/18] x86_64: Allow fallback for the stack, Peter Zijlstra, (Thu Oct 4, 5:30 am)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Thu Oct 4, 10:40 am)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Thu Oct 4, 12:20 pm)
Re: [13/18] x86_64: Allow fallback for the stack, Rik van Riel, (Thu Oct 4, 12:39 pm)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Thu Oct 4, 2:20 pm)
Re: [13/18] x86_64: Allow fallback for the stack, Bill Davidsen, (Sat Oct 6, 11:53 am)
Re: [13/18] x86_64: Allow fallback for the stack, Nick Piggin, (Sun Oct 7, 12:35 am)
Re: [13/18] x86_64: Allow fallback for the stack, Nick Piggin, (Mon Oct 8, 5:55 am)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Mon Oct 8, 10:36 am)
Re: [13/18] x86_64: Allow fallback for the stack, Nick Piggin, (Tue Oct 9, 1:46 am)
Re: [13/18] x86_64: Allow fallback for the stack, Nick Piggin, (Tue Oct 9, 2:56 am)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Tue Oct 9, 11:39 am)
Re: [13/18] x86_64: Allow fallback for the stack, Christoph Lameter, (Tue Oct 9, 6:26 pm)