From: Priyanka Tembey Subject: Xen domctl scheduler_op question (vcpu_unpause) Date: Sat, 2 Jan 2010 15:37:26 -0500 Message-ID: <26ba6f1a1001021237wa96920crd0a84e5e856be775@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1726390894==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1726390894== Content-Type: multipart/alternative; boundary=0016e6da2e7ecc9ee8047c3474a7 --0016e6da2e7ecc9ee8047c3474a7 Content-Type: text/plain; charset=ISO-8859-1 hello, I see that in xen/common/schedule.c , when adjusting scheduling parameters for a Xen domain, VCPUs of the particular domain are paused and later unpaused unless it is the current VCPU. vcpu_unpause internally calls vcpu_wake which temporarily boosts the priority of the vcpu to CSCHED_PRI_TS_BOOST (Ref: csched_vcpu_wake). My question is - Does this mean a simple get_credit or set_credit operation for a domain will also boost its priority ? And if it is so, why is the boost needed everytime ? thanks, Priyanka --0016e6da2e7ecc9ee8047c3474a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hello,

I see that in xen/common/schedule.c , when adjusting sche= duling parameters for a Xen domain, VCPUs of the particular domain are paus= ed and later unpaused unless it is the current VCPU.
vcpu_unpause intern= ally calls vcpu_wake which temporarily boosts the priority of the vcpu to C= SCHED_PRI_TS_BOOST (Ref: csched_vcpu_wake).

My question is - Does this mean a simple get_credit or set_credit opera= tion for a domain will also boost its priority ? And if it is so, why is th= e boost needed everytime ?

thanks,
Priyanka

--0016e6da2e7ecc9ee8047c3474a7-- --===============1726390894== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1726390894==--