From: Jeremy Fitzhardinge Subject: Re: [patch 30/44] xen: Add support for preemption Date: Tue, 30 Oct 2007 10:25:35 -0700 Message-ID: <4727690F.4030502@goop.org> References: <20070716231536.937393000@xensource.com>> <20070716232915.672717000@xensource.com>> <4726F51C.4030709@sina.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4726F51C.4030709@sina.com.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: Xen-devel , Jeremy Fitzhardinge , lkml , Andi Kleen , Chris Wright , Andrew Morton List-Id: xen-devel@lists.xenproject.org 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