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

From: Andreas Schwab <schwab_at_suse.de>
Date: 2003-05-13 01:36:50
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."
Received on Mon May 12 08:38:26 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST