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

Bill Davidsen
2007-10-06T18:47:44Z

Rik van Riel wrote:
> On Thu, 4 Oct 2007 12:20:50 -0700 (PDT)
> Christoph Lameter <clameter@sgi.com> wrote:
>
>> On Thu, 4 Oct 2007, Andi Kleen wrote:
>>
>>> We've known for ages that it is possible. But it has been always so
>>> rare that it was ignored.
>> Well we can now address the rarity. That is the whole point of the
>> patchset.
>
> Introducing complexity to fight a very rare problem with a good
> fallback (refusing to fork more tasks, as well as lumpy reclaim)
> somehow does not seem like a good tradeoff.
>
>>> Is there any evidence this is more common now than it used to be?
>> It will be more common if the stack size is increased beyond 8k.
>
> Why would we want to do such a thing?
>
> 8kB stacks are large enough...
>
Why would anyone need more than 640k... In addition to NUMA, who can
tell what some future hardware might do, given that the size of memory
is expanding as if it were covered in Moore's Law. As memory sizes
increase someone will bump the page size again. Better to Let people
make it as large as they feel they need and warn at build time
performance may suck.

--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot