On Thu, 2015-07-23 at 19:35 +0800, Feng Wu wrote: > This patch adds the following arch hooks in scheduler: > So, preliminary question: does this mean that you have identified (and fixed) the differences in behavior wrt the runstate based model, which was causing performance issue? I've been sidetracked a bit in looking at your previous patch, but did found a couple of differences, which I was about to report... But I guess that's no longer necessary, I guess, is it? Dario > - vmx_pre_ctx_switch_pi(): > It is called before context switch, we update the posted > interrupt descriptor when the vCPU is preempted, go to sleep, > or is blocked. > > - vmx_post_ctx_switch_pi() > It is called after context switch, we update the posted > interrupt descriptor when the vCPU is going to run. > > - arch_vcpu_wake() > It will be called when waking up the vCPU, we update > the posted interrupt descriptor when the vCPU is unblocked. -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)