From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5817AC4360C for ; Thu, 26 Sep 2019 13:29:46 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32AE5217F4 for ; Thu, 26 Sep 2019 13:29:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32AE5217F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iDTpu-0007Ut-0p; Thu, 26 Sep 2019 13:29:34 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iDTps-0007Ud-Bl for xen-devel@lists.xenproject.org; Thu, 26 Sep 2019 13:29:32 +0000 X-Inumbo-ID: aac7c0f5-e061-11e9-9654-12813bfff9fa Received: from mx1.suse.de (unknown [195.135.220.15]) by localhost (Halon) with ESMTPS id aac7c0f5-e061-11e9-9654-12813bfff9fa; Thu, 26 Sep 2019 13:29:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7D36DAFCD; Thu, 26 Sep 2019 13:29:30 +0000 (UTC) Message-ID: <77f14e7e8c054d499949d4ce1311cb52008c12d2.camel@suse.com> From: Dario Faggioli To: =?ISO-8859-1?Q?J=FCrgen_Gro=DF?= , xen-devel@lists.xenproject.org Date: Thu, 26 Sep 2019 15:29:29 +0200 In-Reply-To: <00d9a8c0-614c-c290-3c36-12d2d3c38096@suse.com> References: <20190914085251.18816-1-jgross@suse.com> <20190914085251.18816-27-jgross@suse.com> <71a73c6c9224bcaaf1b47a3f0cd0c5a304334300.camel@suse.com> <2def1338-8048-58b3-9c5d-a0baf6f3dcb8@suse.com> <569f998ccb9a3c1c184c4f2c8244401ad730fb33.camel@suse.com> <00d9a8c0-614c-c290-3c36-12d2d3c38096@suse.com> Organization: SUSE User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Subject: Re: [Xen-devel] [PATCH v3 26/47] xen/sched: Change vcpu_migrate_*() to operate on schedule unit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: George Dunlap Content-Type: multipart/mixed; boundary="===============1258100100940008975==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --===============1258100100940008975== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-rU15wvenyP/9xsitamh5" --=-rU15wvenyP/9xsitamh5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-09-26 at 06:51 +0200, J=C3=BCrgen Gro=C3=9F wrote: > On 25.09.19 18:37, Dario Faggioli wrote: > > > This is done by vcpu_sync_execstate(). Without the explicit call > > > it would be done either when the vcpu is being scheduled on the > > > new > > > cpu > > > or if another non-idle vcpu is becoming active on the old cpu. > > >=20 > > Right. And does this then means that we're now doing it twice > > (i.e., > > here and either of the other places you mentioned)? >=20 > No, it checks whether it has to do anything. >=20 Which I knew, but keep forgetting. :-( Thanks, and sorry for the noise. Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-rU15wvenyP/9xsitamh5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES5ssOj3Vhr0WPnOLFkJ4iaW4c+4FAl2MvTkACgkQFkJ4iaW4 c+62hA/+NgoxxPj5gkqoQyuPoN/OUYY9lnjvHxPPsMNMxuoyOfi5Ohvp7Btr6i6V QFMA0TgmZYnIT2KOq7ZJnaLGvjZF9WrbH1VU9Q4QlfcyCq1N51QIAJbPrZpiTBgm BpSTWySC+TPTMAA1L/8WcRbWICJQve1F+zbW9px4CYUs/zskpV2O1u5VjpDRG6x7 eVNgL+oo/nXYcvSqPvCrhuWxPHnhO8CjtoWFouVrlM85vzCNPbION9Al9VLp91b/ RWCAtGy6KIqwpMFc4Q5+M54lwCBmNthjSTsFrG0ZfyBdb5mdccY0mMu6elbxG75b XJ33iCZzFVpt/lH6Wy4J+AUexYkyObj5wehAKz0j4NJEWUFgGjmbPJ9pRfKP+zDU QGULMzcEgf//t7oRE++W8dFaxbta24wkSv6w654l6kj7sLmdXk6TeUX53qq+TZy5 dnUuv6EY+fBOMw82xzCvvT/aOVhAaEI0SG5+N6W/q3ENBJUQ736K/tI3fKsk5hwV 4Y7g2sZ58G0oABy5SMcgMifxtcpfHKWexsXLVlo4lRP0l0cwst4Le0e3ODV8J1GX TkzsgcEkSB2YGivXLCDbk1WEK+IOlTKGTdje57ChgpFdKeYHVWCSpC2t2IbKYMzd YMTKJEf2Ofnya1lCv2zGNbuUzRLBchnCTN+4Xr+IHhTsT4W1Gk4= =83OX -----END PGP SIGNATURE----- --=-rU15wvenyP/9xsitamh5-- --===============1258100100940008975== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============1258100100940008975==--