From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v3] credit: generalize __vcpu_has_soft_affinity() Date: Fri, 6 Mar 2015 14:54:46 +0000 Message-ID: <1425653684.16932.2.camel@citrix.com> References: <54F9B9B602000078000670AB@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4215177381646438528==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YTteL-0000nv-46 for xen-devel@lists.xenproject.org; Fri, 06 Mar 2015 14:54:49 +0000 In-Reply-To: <54F9B9B602000078000670AB@mail.emea.novell.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "JBeulich@suse.com" Cc: "xen-devel@lists.xenproject.org" , George Dunlap List-Id: xen-devel@lists.xenproject.org --===============4215177381646438528== Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4wCVaIFpFxgA5EYC9wZ3" --=-4wCVaIFpFxgA5EYC9wZ3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-03-06 at 13:29 +0000, Jan Beulich wrote: > As pointed out in the discussion of the patch at > http://lists.xenproject.org/archives/html/xen-devel/2015-02/msg03256.html= =20 > generalizing the conditions here means code elsewhere doesn't need to > take into consideration internals of how load balancing in the credit > scheduler works. >=20 > Signed-off-by: Jan Beulich > Reviewed-by: George Dunlap > --- > v3: Swap soft and hard affinities in the 2nd of the 3 checks. Alter > comment as requested by George (which made us notice the need for > the code change, therefore retaining his review tag). > v2: Use VCPU2ONLINE(vc) (or really an open coded variant thereof) > instead of cpu_online_map (suggested by Dario). >=20 Reviewed-by: Dario Faggioli This time, hopefully, without having overlooked anything! :-) Regards, Dario --=-4wCVaIFpFxgA5EYC9wZ3 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 iEYEABECAAYFAlT5v7QACgkQk4XaBE3IOsR7kgCfahg9/pjwDPwjo2+uegiVZp64 IIcAnjO1EHs2NzCQqh+zJFWhAKjIf2JX =2UGh -----END PGP SIGNATURE----- --=-4wCVaIFpFxgA5EYC9wZ3-- --===============4215177381646438528== 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 --===============4215177381646438528==--