Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] [patch 30/44] xen: Add support for preemption

To: tgh <wwwwww4187@xxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch 30/44] xen: Add support for preemption
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 30 Oct 2007 10:25:35 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Chris Wright <chrisw@xxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 30 Oct 2007 10:26:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4726F51C.4030709@xxxxxxxxxxx>
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>
References: <20070716231536.937393000@xxxxxxxxxxxxx>> <20070716232915.672717000@xxxxxxxxxxxxx>> <4726F51C.4030709@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070727)
tgh wrote:
> hi
> I am using xen,and I am curious about whether Xen support the preempt
> scheduler for the VMs or not
> could the VM be prempted by xen to scheduler another VM?
>   

Yes, that's the normal mode of operation. The hypervisor will timeslice
multiple vcpus onto a single vcpu.

This patch doesn't relate to that; it's whether a Xen Linux guest's
kernel can be preempted to reschedule processes while running under Xen.
The normal xen-unstable or vendor Xen kernels don't support this, but
the mainline kernel with paravirt_ops/xen support does.

J

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