[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALMp9eQ=+jEabpDqa-a7WP7LVfTjmpW1ymWrVYeSxH4O4XOmyA@mail.gmail.com>
Date: Thu, 25 Oct 2018 10:02:08 -0700
From: Jim Mattson <jmattson@...gle.com>
To: Julian Stecklina <jsteckli@...zon.de>
Cc: kvm list <kvm@...r.kernel.org>,
Paolo Bonzini <pbonzini@...hat.com>, js@...en8.de,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] kvm, vmx: move CR2 context switch out of assembly path
On Wed, Oct 24, 2018 at 1:28 AM, Julian Stecklina <jsteckli@...zon.de> wrote:
> The VM entry/exit path is a giant inline assembly statement. Simplify it
> by doing CR2 context switching in plain C. Move CR2 restore behind IBRS
> clearing, so we reduce the amount of code we execute with IBRS on.
>
> Signed-off-by: Julian Stecklina <jsteckli@...zon.de>
> Reviewed-by: Jan H. Schönherr <jschoenh@...zon.de>
> Reviewed-by: Konrad Jan Miller <kjm@...zon.de>
Reviewed-by: Jim Mattson <jmattson@...gle.com>
Powered by blists - more mailing lists