From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 0/2, v2] x86: adjust entry frame generation Date: Tue, 30 Oct 2012 15:35:11 +0100 Message-ID: References: <508FF03702000078000A576D@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <508FF03702000078000A576D@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 30/10/2012 15:20, "Jan Beulich" wrote: >>>> On 02.10.12 at 17:20, "Jan Beulich" 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 Acked-by: Keir Fraser > --- > 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@lists.xen.org > http://lists.xen.org/xen-devel