From: "Jan Beulich" Subject: [PATCH 0/2, v2] x86: adjust entry frame generation Date: Tue, 30 Oct 2012 14:20:23 +0000 Message-ID: <508FF03702000078000A576D@nat28.tlf.novell.com> References: <506B2268020000780009F273@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <506B2268020000780009F273@nat28.tlf.novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org >>> 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 --- NB: Patch 1 didn't change from its v1 submission, and what was originally patch 2 (of 3) did already get committed.