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

David Mosberger
2003-05-12T19:10:07Z

>>>>> On Mon, 12 May 2003 10:38:44 -0400, Martin Hicks <mort@wildopensource.com> said:

Martin> The user stack size is configurable through setrlimit().
Martin> The default size of the user stack is 8MB and the max is
Martin> ~0UL. The problem is the addreses that are chosen for the
Martin> stack (which grows down) and the register backing store
Martin> (which grows up) are only 2GB apart. My patch simply makes
Martin> this space 512GB so that large stack are possible, without
Martin> the stack smashing into the RBS.

OK, time for a pop-quiz:

Q: You are faced with a timebomb that's set to go of in 1 minute.
What do you do?

(a) Tweak the timer so it goes off in ~4 1/4 hours instead and get
the hell out of town.

(b) Remove the timing device so it doesn't go off at all.

If you're answer is (a), I'm afraid you stand an excellent chance of
getting voted off the island.

Clear enough? ;-)

--david