From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v2 3/5] xen: print online pCPUs and free pCPUs when dumping Date: Wed, 18 Mar 2015 11:26:43 +0000 Message-ID: <1426678002.2560.23.camel@citrix.com> References: <20150317152615.9867.48676.stgit@Solace.station> <20150317153309.9867.20149.stgit@Solace.station> <5509698D020000780006B297@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4281991229272028556==" Return-path: In-Reply-To: <5509698D020000780006B297@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: "JGross@suse.com" , "Keir (Xen.org)" , George Dunlap , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============4281991229272028556== Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-qod0LGoES7tT9AFyzLnc" --=-qod0LGoES7tT9AFyzLnc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-03-18 at 11:03 +0000, Jan Beulich wrote: > >>> On 17.03.15 at 16:33, wrote: > > @@ -671,12 +678,17 @@ void dump_runq(unsigned char key) > > sched_smt_power_savings? "enabled":"disabled"); > > printk("NOW=3D0x%08X%08X\n", (u32)(now>>32), (u32)now); > > =20 > > + print_cpumap("Online Cpus", &cpu_online_map); > > + if ( cpumask_weight(&cpupool_free_cpus) ) >=20 > This is certainly more expensive than necessary - mind if I change > this to !cpumask_empty() on commit? >=20 Go ahead... That is indeed what I meant, sorry! :-) Dario --=-qod0LGoES7tT9AFyzLnc 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 iEYEABECAAYFAlUJYPIACgkQk4XaBE3IOsQ70wCeP3sJYrXnfUUnIl9CpNSoN7hp ZLQAnjmnhwptM+WUZsPtgs+TQqWpclE8 =DCoA -----END PGP SIGNATURE----- --=-qod0LGoES7tT9AFyzLnc-- --===============4281991229272028556== 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 --===============4281991229272028556==--