[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v4 16/17] vmx: Add some scheduler hooks for VT-d posted interrupts
> -----Original Message----- > From: Dario Faggioli [mailto:dario.faggioli@xxxxxxxxxx] > Sent: Thursday, July 23, 2015 8:50 PM > To: Wu, Feng > Cc: xen-devel@xxxxxxxxxxxxx; Tian, Kevin; Keir Fraser; George Dunlap; Andrew > Cooper; Jan Beulich > Subject: Re: [Xen-devel] [v4 16/17] vmx: Add some scheduler hooks for VT-d > posted interrupts > > 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? Yes, the issue has been fixed in this version. > > 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? Thanks for your effort, Dario! Maybe you can give a review about this new version, if you have time. Thanks, Feng > > 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. > > -- > <<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) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |