[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0/2, v2] x86: adjust entry frame generation


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Tue, 30 Oct 2012 15:35:11 +0100
  • Delivery-date: Tue, 30 Oct 2012 15:35:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac22tCXo7kUhceTghUO9JZ2QeLtq5Q==
  • Thread-topic: [Xen-devel] [PATCH 0/2, v2] x86: adjust entry frame generation

On 30/10/2012 15:20, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

>>>> On 02.10.12 at 17:20, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:
> This pair of patches converts the way frames gets created from
> using PUSHes/POPs to using MOVes, thus allowing (in certain
> cases) to avoid saving/restoring part of the register set.
> 
> While the exact place where the (small) win from this comes from
> varies between CPUs, the net effect is a 1 to 2% reduction on a
> combined interruption entry and exit when the full state save
> can be avoided.
> 
> 1: use MOV instead of PUSH/POP when saving/restoring register state
> 2: save only partial register state where possible
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> ---
> NB: Patch 1 didn't change from its v1 submission, and what was
> originally patch 2 (of 3) did already get committed.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.