Skip to contentSkip to conversation

Xen domctl scheduler_op question (vcpu_unpause)

DISCUSSION Priyanka Tembey 1 participant 1 message Jan 2, 2010

lore
Share & tools
lore
#0 lore raw

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel