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

Re: [Xen-devel] [PATCH] 32on64 call gate support


  • To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 26 Jan 2007 10:14:23 +0000
  • Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 26 Jan 2007 02:14:05 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdBMTKDcN+Ii60kEduhMgANk04WTAAAFCIwAABPQvo=
  • Thread-topic: [Xen-devel] [PATCH] 32on64 call gate support

On 26/1/07 10:07 am, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

>> Do we know that anyone uses 64-bit call gates? I would have thought it
>> unlikely.
> 
> I agree, it's VERY unlikely that anyone uses call-gates in 64-bit mode.
> There are other, better, ways to do system calls, including the
> dedicated SYSCALL instruction. Since 64-bit code is "new", it's unlikely
> to use old ways of doing things "just because there was nothing else
> around at the time".

Of course, it begs the question why call gates weren't stripped from long
mode along with other ancient architectural baggage.

Perhaps the idea was to allow compat-mode applications relying on call gates
to be supported? So the OS would be responsible for allocating 64-bit call
gates instead of 32-bit call gates?

Anyhow, this is a bridge we should probably only cross if we come to it.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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