From: Dario Faggioli Subject: Re: [PATCH v2 1/2] xen: fix a (latent) cpupool-related race during domain destroy Date: Mon, 18 Jul 2016 16:03:04 +0200 Message-ID: <1468850584.13039.143.camel@citrix.com> References: <146851288308.22413.4619190133086534604.stgit@Solace.fritz.box> <146851308019.22413.8905002507733716302.stgit@Solace.fritz.box> <5788AF33.2030603@suse.com> <1468577660.13039.78.camel@citrix.com> <5788BCA2.4020404@suse.com> <1468583562.13039.96.camel@citrix.com> <5788DC89.4090009@suse.com> <1468592605.13039.104.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2474166570142558069==" Return-path: Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bP98d-00080d-AR for xen-devel@lists.xenproject.org; Mon, 18 Jul 2016 14:03:15 +0000 In-Reply-To: <1468592605.13039.104.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Juergen Gross , xen-devel@lists.xenproject.org Cc: George Dunlap , Andrew Cooper , Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============2474166570142558069== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-gxOPepAq7+IVoJqYeZKu" --=-gxOPepAq7+IVoJqYeZKu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2016-07-15 at 16:23 +0200, Dario Faggioli wrote: > On Fri, 2016-07-15 at 14:52 +0200, Juergen Gross wrote: > > On 15/07/16 13:52, Dario Faggioli wrote: > > > Therefore, I still think this patch is correct, but I'm up for > > > investigating further and finding a way to solve the "zombie in > > > cpupool" issue as well. > > I'm not saying your patch is wrong. I just wanted to give you a > > hint > > about the history of the stuff you are changing. :-) > >=20 > Sure, and that's much appreciated! :-) >=20 > > If it is working I'd really prefer it over the current situation. > >=20 > Right. I've got to leave now. But I'll produce some zombies on > Monday, > and will see if they move. :-D >=20 Here you go: http://pastebin.com/r93TGCZU Is that "vm1 -b-" --> "(null) ---" domain zombie enough? If yes, as you can see, it moves to cpupool0 while being destroyed, and I can destroy the pool without problems. I also shutdown the system with the domain still there (in cpupool0), and it works. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-gxOPepAq7+IVoJqYeZKu 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 iQIcBAABCAAGBQJXjOGYAAoJEBZCeImluHPuQSEQAOKsc1k7aNQ0oSkkupi8ooo/ kPXf2h4E3ofZ712q6DFUkbnqBoJZIiD5644WCgVrqbtQbPvMiP7w/kQnmfNLulla /QCznsusT3BTEUE2tw5aeZpwDkxoD2X/wopERsZvz/1f5itfg+BUKjQaEoPFL11H V94OO19i/UKN/MtDYrkqcmsFq16kXDa6RLwUnyCwAxEuxR94W8aO49bQNbpMTfnN yhIGxL3VSaHsrUz5o1Ak/UBPw30yQcBPsUOa2TyhlacxX5oIohWCXxcKSDmNKQZ+ SJnIT4UsxlXtBKIHEOSTfvlbfaMxeGYetPzMGTc9gGLzoPR3a4bGEuCmwIVCxG68 316+pw6gfyoHJ8I/z7aEV8nqieCMYCzzSR1tgf1hYhubh4Q1uij7CDEDjfnqU02c J/YMKtY9Ds84AvuIFukvl5tzCRkUs25mwqhFROEHme51jrN+KFyOyF3mdLUFtZHY cvgMK1soJNVBBguNC/M2Ujs8dh0wY+KE3l75SaPNhNFekAdREJLHFPHFK3MloVM8 fzVI80FxUUo2Lc5pS+EstljzVs5MtBp2hwZluNGs53SGIPuhkGjDHvxn8hshFFW8 jH4a2rbavyCSFTY8yU9ifM+VaqcwI9OxDvje7q/wrzNBVD4ZfQeI4AXYjvEuga9u gD2sM2opdYPFSxP4IYSC =TrbM -----END PGP SIGNATURE----- --=-gxOPepAq7+IVoJqYeZKu-- --===============2474166570142558069== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2474166570142558069==--