Thread (18 messages) 18 messages, 3 authors, 2016-02-17

[PATCH 1/5] all: s390: move wrapper infrastructure to generic headers

From: Heiko Carstens <hidden>
Date: 2016-02-03 08:02:12
Also in: linux-arch, linux-s390, lkml

On Tue, Feb 02, 2016 at 11:41:56PM +0300, Yury Norov wrote:
On Tue, Feb 02, 2016 at 08:54:34PM +0100, Heiko Carstens wrote:
quoted
So I think I can summarize my point to: if you can enforce correctness, why
shouldn't you do it if the performance impact is only a single instruction.
For aarch64 it's 5 instructions. But what's more important (if ever),
another wrapper takes another i-cache line...
        <compat_SyS_ftruncate>:
        stp     x29, x30, [sp,#-16]!
        mov     x29, sp
        bl      d40 <do_sys_ftruncate.constprop.3>
        ldp     x29, x30, [sp],#16
        ret
Why does gcc allocate a stackframe here? Don't you have tail call
optimization?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help