Re: [Linux-ia64] Re: [PATCH] Increase size of user stack

Andreas Schwab
2003-05-12T15:36:50Z

Matthew Wilcox <willy@debian.org> writes:

|> On Mon, May 12, 2003 at 10:59:38AM -0400, Martin Hicks wrote:
|> > Maybe I'm missing something, but what happens if a process is created
|> > using the default 2GB between the RBS and the stack and sometime
|> > later the process does a setrlimit to 100GB of stack. How do the
|> > stack and RBS get moved around to make enough room between the two
|> > start addresses?
|>
|> They don't. However, the new maximum would take effect for any newly
|> created children.

But setrlimit takes effect immediately, not only for newly created
children.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."