]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8010ca5def7b5a8a80a5aed68c14e1b24392d12
tree4a25e5f4dffa272d4c86450290bbeff3c7be6005
parent22ab23f828545eb8a71958d656a4cad04a747382
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