From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v10 6/7] vmx: VT-d posted-interrupt core logic handling Date: Wed, 20 Jan 2016 14:30:46 +0100 Message-ID: <1453296646.3116.33.camel@citrix.com> References: <1449131734-3578-1-git-send-email-feng.wu@intel.com> <1449131734-3578-7-git-send-email-feng.wu@intel.com> <569D0F5B02000078000C8156@prv-mh.provo.novell.com> <569F54DC02000078000C8ECB@prv-mh.provo.novell.com> <569F7F1502000078000C9012@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7495910905222103262==" Return-path: In-Reply-To: <569F7F1502000078000C9012@prv-mh.provo.novell.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: Jan Beulich , Feng Wu Cc: George Dunlap , Andrew Cooper , Kevin Tian , Keir Fraser , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============7495910905222103262== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9d4yT8AbFAZ2o0T7Q0bq" --=-9d4yT8AbFAZ2o0T7Q0bq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2016-01-20 at 04:35 -0700, Jan Beulich wrote: > > > > On 20.01.16 at 12:20, wrote: > > >=C2=A0 > > > Then you didn't understand: The question isn't this path, but the > > > path where the hook gets called if non-NULL (and hence the > > > possibility to avoid such needless calls). > >=20 > > I understand you mean the overhead happens when the hooks > > is called. My point is the hook is not called in a critical path, > > so I doubt > > whether it worth doing so to make the logic complex. >=20 > Are you sure scheduling code is not a critical path? >=20 TBH, I like Jan's point... It's always good to make all we can to avoid calling the hook, if unnecessary. Does it really complicates things a lot? Feng, can you give it a try? Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-9d4yT8AbFAZ2o0T7Q0bq 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 v1 iEYEABECAAYFAlafjAcACgkQk4XaBE3IOsS59wCdEDVaUbijmL+bynEb2bTylYMW 310Anj1hPI8Cd8AXWoZSQqhHvFbijJas =Hijr -----END PGP SIGNATURE----- --=-9d4yT8AbFAZ2o0T7Q0bq-- --===============7495910905222103262== 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 --===============7495910905222103262==--