Skip to contentSkip to conversation

4KB stack + irq stack for x86

RFC Pete Zaitcev 2 participants 2 messages Jun 6, 2002 – Jun 7, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines

[...]
Of course, the situation is particularly bad on s390, because every function call needs at least 96 bytes on the stack (due to the register save areas required by our ABI).

How is this different from sparc64?

-- Pete

#2 lore raw

From: Pete Zaitcev <[email protected]>
Date: Thu, 6 Jun 2002 13:37:58 -0400

Quoted 4 lines

[...]
Of course, the situation is particularly bad on s390, because every function call needs at least 96 bytes on the stack (due to the register save areas required by our ABI).

How is this different from sparc64?

Sparc64 even eats 192 bytes per function call, minimum. Sibling call optimization in current GCC helps, but it is still an issue.