aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-06-20 16:58:30 +0200
committerIngo Molnar <mingo@kernel.org>2016-07-10 13:33:02 +0200
commitbe8a18e2e98e04a5def5887d913b267865562448 (patch)
treef232bfab43edd5d4fbd82cbb16b05c502484b039 /arch/x86/boot
parentx86/entry: Avoid interrupt flag save and restore (diff)
downloadlinux-dev-be8a18e2e98e04a5def5887d913b267865562448.tar.xz
linux-dev-be8a18e2e98e04a5def5887d913b267865562448.zip
x86/entry: Inline enter_from_user_mode()
This matches what is already done for prepare_exit_to_usermode(), and saves about 60 clock cycles (4% speedup) with the benchmark in the previous commit message. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Rik van Riel <riel@redhat.com> Reviewed-by: Andy Lutomirski <luto@kernel.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: kvm@vger.kernel.org Link: http://lkml.kernel.org/r/1466434712-31440-3-git-send-email-pbonzini@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions