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-ia64-devel

[Xen-ia64-devel] [PATCH][UPDATE]Fix context switch to idle domain

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH][UPDATE]Fix context switch to idle domain
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 20 Dec 2005 15:49:03 +0800
Delivery-date: Tue, 20 Dec 2005 07:51:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYFOdKc+TTbpoDqSruGTr85ud672A==
Thread-topic: [PATCH][UPDATE]Fix context switch to idle domain
(please ignore previous one)

Don't change vhpt table when switching to idle domain, or else we have
to restore region registers too. Actually this change can also improve
performance a bit, since idle domain can inherit most of prev's
environment.

Without this change, we kept seeing vhpt fault when running host SMP.

Also removed print info within idle loop, since idle domain gets more
chance to run on another CPU.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

Thanks,
Kevin

Attachment: switch_idle_task.patch
Description: switch_idle_task.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>