From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [v4 16/17] vmx: Add some scheduler hooks for VT-d posted interrupts Date: Thu, 23 Jul 2015 14:50:00 +0200 Message-ID: <1437655800.5036.76.camel@citrix.com> References: <1437651353-5275-1-git-send-email-feng.wu@intel.com> <1437651353-5275-17-git-send-email-feng.wu@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8402315737117755569==" Return-path: In-Reply-To: <1437651353-5275-17-git-send-email-feng.wu@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: Kevin Tian , Keir Fraser , George Dunlap , Andrew Cooper , xen-devel@lists.xen.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============8402315737117755569== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-T4a2ErWZr7Q+gomMKnCu" --=-T4a2ErWZr7Q+gomMKnCu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > - vmx_post_ctx_switch_pi() > It is called after context switch, we update the posted > interrupt descriptor when the vCPU is going to run. >=20 > - arch_vcpu_wake() > It will be called when waking up the vCPU, we update > the posted interrupt descriptor when the vCPU is unblocked. --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-T4a2ErWZr7Q+gomMKnCu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlWw4vgACgkQk4XaBE3IOsQa5QCglKepf0HjL6IqnMwmwEdsnvoy o+IAoJP+TGokeIRY1qwnigAbx4JVGlJU =ocrF -----END PGP SIGNATURE----- --=-T4a2ErWZr7Q+gomMKnCu-- --===============8402315737117755569== 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.xen.org http://lists.xen.org/xen-devel --===============8402315737117755569==--