From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH] xen: make sure the node-affinity is always updated Date: Fri, 13 Sep 2013 11:52:37 +0200 Message-ID: <1379065957.6095.17.camel@Solace> References: <20130912155657.20126.35983.stgit@hit-nxdomain.opendns.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3724376701386526001==" Return-path: In-Reply-To: <20130912155657.20126.35983.stgit@hit-nxdomain.opendns.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: xen-devel@lists.xen.org Cc: George Dunlap , Juergen Gross , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============3724376701386526001== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1OXSBI7o7qzO/v5O6wUt" --=-1OXSBI7o7qzO/v5O6wUt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On gio, 2013-09-12 at 17:57 +0200, Dario Faggioli wrote: > in particular when a domain moves from a cpupool to another, and > when the list of cpus in a cpupool changes. >=20 > Not doing that may result in the domain's node-affinity mask > (as retrieved by csched_balance_cpumask(..CSCHED_BALANCE_NODE_AFFINITY..)= ) > and online mask (as retrieved by cpupool_scheduler_cpumask() ) to have > an empty intersection. >=20 > [..] > > an ASSERT (from inside cpumask_cycle() ) triggers like this: >=20 > (XEN) Xen call trace: > (XEN) [] _csched_cpu_pick+0x1d2/0x652 > (XEN) [] csched_cpu_pick+0xe/0x10 > (XEN) [] vcpu_migrate+0x167/0x31e > (XEN) [] cpu_disable_scheduler+0x1c8/0x287 > (XEN) [] cpupool_unassign_cpu_helper+0x20/0xb4 > (XEN) [] continue_hypercall_tasklet_handler+0x4a/0xb= 1 > (XEN) [] do_tasklet_work+0x78/0xab > (XEN) [] do_tasklet+0x5f/0x8b > (XEN) [] idle_loop+0x57/0x5e > (XEN) > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 1: > (XEN) Assertion 'cpu < nr_cpu_ids' failed at /home/dario/Sources/xen/xen/= xen.git/xen/include/xe:16481 >=20 BTW, I just checked, and this affects 4.3.0. I'll request for it to be properly backported as soon as it hits the unstable repo. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-1OXSBI7o7qzO/v5O6wUt 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.4.14 (GNU/Linux) iEYEABECAAYFAlIy4GUACgkQk4XaBE3IOsRsFQCfcRmfFXuNcCjjCKfuQzTE+5rO mGQAni9H2/7prQLtl/PLcLpavHi5z5PO =HClv -----END PGP SIGNATURE----- --=-1OXSBI7o7qzO/v5O6wUt-- --===============3724376701386526001== 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 --===============3724376701386526001==--