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] How to Stop scheduler

To: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
Subject: Re: [Xen-devel] How to Stop scheduler
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Tue, 3 Nov 2009 11:58:54 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Nov 2009 03:59:24 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=8e6F4lXWtQFmjNId0j80RLC1Xo7O4bCKlK4g7q5uzR4=; b=m+nAYCgOdctIxu6gCZXpI1NsP06Z0gjX5PwhDaMfIdNqBZdnxEjOhs1LnDrB0e5xy9 ehqex6Th7TFWkvHjydhcXE6EbKXV9FJRDwAIjEfohOC22gS4R4OzeMumS2skexu2WdRk VJIK0AGCmxRlquitIW4w0trxtKuahrB/uDY9Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=JQYl6wYWZJXSDSl24YdDXwo029HkwbaEP0yCwHlrZ4Qx0m7X/YpTk1BoWExUVqI0Vk g1QbZH7qsU7YIFCdM4nJWLeULFjdB88FTs5jmBZJUiLYKOTlsz3nMU9hzWiXd9esIjfN GS41VmYfsbb5bgZJgm5LcbNEHs1Bvuxy98cX8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0911030348v2c127fa1j760ed5d8e1d3384@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <27a8ee1b0911021302n37b76a0bw5259c7b594147abd@xxxxxxxxxxxxxx> <de76405a0911030348v2c127fa1j760ed5d8e1d3384@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
But beware of deadlocks. :-)On Tue, Nov 3, 2009 at 11:48 AM, George
Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
> Do you mean that you want to stop one specific vcpu / domain from
> being scheduled?
>
> If so, you're looking for the following functions:
> vcpu_pause(), vcpu_unpause()
> domain_pause(), domain_unpause().
>
> They're defined in xen/common/domain.c.

But beware of deadlocks. :-)
 -George

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