On Wed, 2015-08-12 at 13:13 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 12, 2015 at 10:35:36AM +0800, Feng Wu wrote: > > This patch adds the following arch hooks in scheduler: > > - 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_prepare() > > It will be called when waking up the vCPU, we update > > the posted interrupt descriptor when the vCPU is unblocked. > > > > CC: Keir Fraser <k...@xen.org> > > CC: Jan Beulich <jbeul...@suse.com> > > CC: Andrew Cooper <andrew.coop...@citrix.com> > > CC: Kevin Tian <kevin.t...@intel.com> > > CC: George Dunlap <george.dun...@eu.citrix.com> > > CC: Dario Faggioli <dario.faggi...@citrix.com> > > Sugguested-by: Dario Faggioli <dario.faggi...@citrix.com> > > Signed-off-by: Feng Wu <feng...@intel.com> > With Konrad's points addressed:
Reviewed-by: Dario Faggioli <dario.faggi...@citrix.com> Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel