From: Keir Fraser Subject: Re: Re: sysenter/syscall support for 32-on-64 guests? Date: Thu, 28 Feb 2008 21:22:38 +0000 Message-ID: References: <47C6F9FD.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47C6F9FD.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Jeremy Fitzhardinge Cc: Xen-devel , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 28/2/08 17:14, "Jan Beulich" wrote: >> Anyway, I wonder if you had a specific reason for allowing this, other >> than "because we can"? It seems to me that we should try to minimize >> the number of differences between 32-on-32 and 32-on-64 as much as possible. > > Since int80 cannot be directly passed to the guest (as in 32-on-32), it > seemed reasonable to cut on the overhead of syscalls by at least > allowing this (and syscall could also be made work now that the vdso > stuff is unified in 2.6.25) - for obvious reasons it still goes through the > hypervisor, but gets there faster Ah yes, I must admit I temporarily forgot you can only target 64-bit code segments in a long-mode IDT. -- Keir