ARM: entry: efficiency cleanups
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 20 Aug 2015 15:13:37 +0000 (16:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Aug 2015 09:32:48 +0000 (10:32 +0100)
commit3302caddf10ad50710dbb7a94ccbdb3ad5bf1412
tree4a25e5f4dffa272d4c86450290bbeff3c7be6005
parent01e09a28167c338684606b70797422da3bbb6650
ARM: entry: efficiency cleanups

Make the "fast" syscall return path fast again.  The addition of IRQ
tracing and context tracking has made this path grossly inefficient.
We can do much better if these options are enabled if we save the
syscall return code on the stack - we then don't need to save a bunch
of registers around every single callout to C code.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/assembler.h
arch/arm/include/asm/thread_info.h
arch/arm/kernel/entry-common.S
arch/arm/kernel/signal.c