Message ID | 20130726155458.GA31613@arm.com |
---|---|
State | New |
Headers | show |
On Fri, Jul 26, 2013 at 8:55 AM, Catalin Marinas <catalin.marinas@arm.com> wrote: > > - Stack size increased to 16K (similar to other 64-bit architectures) I pulled, but this is misleading. *Some* other 64-bit architectures do 16k stack sizes. But neither x86-64 nor powerpc do, afaik. Instead, they do irq stacks, which is generally a better idea than having one big stack. Linus
On Fri, 2013-07-26 at 12:54 -0700, Linus Torvalds wrote: > > *Some* other 64-bit architectures do 16k stack sizes. But neither > x86-64 nor powerpc do, afaik. Instead, they do irq stacks, which is > generally a better idea than having one big stack. Sadly you over estimated us here :-) We do 16K *and* irq stacks on 64-bit ... Remember our ABI with it's 112 bytes minimum per frame ? It's been a while since I've last audited our actual usage mind you, we *might* be able to reduce it but at this stage, since our typical configs use a 64K base page size, it's not a big deal (ie, it's not an order-N allocation). Cheers, Ben.