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/
Home Products Support Community News


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:48:29 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Nov 2009 03:48:56 -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=SPJ20ENsnXZs+ajLxYqYQaxXwDT62ULDKajwsfiDCMA=; b=LR1guX9CuRdK3iVm0Eqxh5copXM3uesOE84dLO8Bqm7By1pgC59NLorjAkfANLpePc RtK854G8zE3osdfL8/Ee55fjNYbCzHjgnsJkJV7uYCt0vtzid3IppY1ZTTjQzdaL55CG OVns8VuRPAu/F39guSDRl/3cV8nq44dWi3qlg=
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=iJhrTwENIFP+R1UuW8ZQLE3iHReZRnLf8er9JxpUobuxHp+oTXBa3031dVzH6nShAJ yq+AhDhDwqpdRTVqVfHUlPRKqzA0t+j8Bd0hADbrvDQYQRTnQC2D9p3/2SJBiiUVSbo5 wNFuuCgcxRbJsQgmSPJsekaEJCl/m8Rhx/eZY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <27a8ee1b0911021302n37b76a0bw5259c7b594147abd@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.


On Mon, Nov 2, 2009 at 9:02 PM, Pankaj Parakh <me.pankajparakh@xxxxxxxxx> wrote:
> Hi All,
> I am working on a project wherein I wanted to stop the scheduling
> activity in hypervisor through 'generic' part of scheduler, I have lil
> confusion as to what all things I need to mask/stop for disabling
> hypervisor to schedule any vcpu untill I want.
> Issues which I can think are about I/O waits or Zombie VCPUs. But how
> to tackle them... I dont know..
> I wanted to know what all responsibility the generic scheduler holds
> in hypervisor,
> Any type of info or pointer can be useful.
> Thanks
> Pankaj Parakh
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list