Re: [tip:x86/asm] x86/entry: Inline enter_from_user_mode()

From: Borislav Petkov
Date: Sat Jul 09 2016 - 09:39:26 EST


tip-bot for Paolo Bonzini <tipbot@xxxxxxxxx> wrote:

>Commit-ID: eec4b1227db153ca16f8f5f285d01fefdce05438
>Gitweb:
>http://git.kernel.org/tip/eec4b1227db153ca16f8f5f285d01fefdce05438
>Author: Paolo Bonzini <pbonzini@xxxxxxxxxx>
>AuthorDate: Mon, 20 Jun 2016 16:58:30 +0200
>Committer: Ingo Molnar <mingo@xxxxxxxxxx>
>CommitDate: Sat, 9 Jul 2016 10:44:02 +0200
>
>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@xxxxxxxxxx>
>Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
>Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
>Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
>Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
>Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
>Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
>Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
>Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
>Acked-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Woohaa, if that amount of review doesn't get this patch upstream I don't know what will ;-)))))

--
Sent from a small device: formatting sucks and brevity is inevitable.