Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932288AbWCOC4b (ORCPT ); Tue, 14 Mar 2006 21:56:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932588AbWCOC4b (ORCPT ); Tue, 14 Mar 2006 21:56:31 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:1408 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S932288AbWCOC4a (ORCPT ); Tue, 14 Mar 2006 21:56:30 -0500 Date: Tue, 14 Mar 2006 19:01:15 -0800 From: Chris Wright To: Zachary Amsden Cc: Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List , Xen-devel , Andrew Morton , Dan Hecht , Dan Arai , Anne Holler , Pratap Subrahmanyam , Christopher Li , Joshua LeVasseur , Chris Wright , Rik Van Riel , Jyothy Reddy , Jack Lo , Kip Macy , Jan Beulich , Ky Srinivasan , Wim Coekaerts , Leendert van Doorn Subject: Re: [RFC, PATCH 8/24] i386 Vmi syscall assembly Message-ID: <20060315030115.GO12807@sorel.sous-sol.org> References: <200603131805.k2DI5BVv005686@zach-dev.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603131805.k2DI5BVv005686@zach-dev.vmware.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 26 * Zachary Amsden (zach@vmware.com) wrote: > These changes are sufficient to glue the Linux low level entry points to > hypervisor event injection by emulating the native processor exception > frame interface. There's a bit more going on in the Xen changes to entry.S. The STI/CLI abstraction definitely gets partway there. Then there's some bits that use (in your terms) __STI, __CLI. It's in code that's a pure addition so it's tempting to simply make a mechanism for the additions, but it's a bit too intertwined to just separate that code, as there's calls from core entry.S into the Xen additions. > N.B. Sti; Sysexit is a required abstraction, as the STI instruction implies > holdoff of interrupts, which is destroyed by any NOP padding. Or just disable systenter ;-) Random question...do you support systenter? Sounds slower than int80, since it should require 3->0->1->0->3 transitions. Just idly curious if you've done benchmarks to see the difference. thanks, -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/