[lkml]   [2000]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Overcommitable memory??
On 18 Mar 2000 23:12:11 +0100, you wrote:

>Den 17-Mar-00 13:43:11 skrev Stephen C. Tweedie følgende om "Re: Overcommitable memory??":
>> Even that doesn't cure things. Think about stack growth.
> What's the standard way of allocating stack space on Un*x systems?

My recollection is you get an "infinite" stack, demand allocated.
Exactly the same you get via malloc() - an unpopulated address space,
which is then populated when you use it.

Very handy in quite a few situations; no need to predefine your stack
size (as you would have to without overcommit), no need to mess around
trapping exceptions (as you do to implement sparse matrixes on


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean