WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Task Switching and Xen-SVM

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, Vivek Mohan <vivek.mt@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Task Switching and Xen-SVM
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 27 Oct 2006 09:59:07 +0100
Delivery-date: Fri, 27 Oct 2006 02:10:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1686@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb5kXQBt+IkliCQQtW4Bv2J/9S1XgAFBCnwAAApBa4=
Thread-topic: [Xen-devel] Task Switching and Xen-SVM
User-agent: Microsoft-Entourage/11.2.5.060620


On 27/10/06 9:59 am, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

> AMD and Intel are doing the same thing here.
> 
> Do you actually know of any (32-bit) OS that uses task switching? In my
> experience, it's horribly slow (because it generally saves/restores more
> of the context than is necessary). Of course, in 64-bit mode it's not
> even allowed, all task-management features have been removed... I'm
> saying 32-bit OS, since there's probably some 16-bit OS's out there that
> do use task-switching, but those OS's are not able to run on current Xen
> anyways, since Xen in it's current form is very poor at supporting
> segments with base != 0 in protected mode. So far I've only seen a few
> rare reports of anyone actually wishing to run a 16-bit OS...

It's primarily used to obtain a fresh context when things have gobe very bad
(so, for example, double-fault and NMI exceptions often specify a task gate
in the IDT).

 -- Keir



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