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=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 A1D7BC04A6B for ; Wed, 8 May 2019 11:25:43 +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 7BB6221479 for ; Wed, 8 May 2019 11:25:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BB6221479 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 1hOKhR-0005Rh-HX; Wed, 08 May 2019 11:25:25 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hOKhQ-0005Rc-Qz for xen-devel@lists.xen.org; Wed, 08 May 2019 11:25:24 +0000 X-Inumbo-ID: f75b95f0-7183-11e9-843c-bc764e045a96 Received: from smtp.nue.novell.com (unknown [195.135.221.5]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id f75b95f0-7183-11e9-843c-bc764e045a96; Wed, 08 May 2019 11:25:22 +0000 (UTC) Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Wed, 08 May 2019 13:25:21 +0200 Received: from [192.168.0.30] (nwb-a10-snat.microfocus.com [10.120.13.202]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Wed, 08 May 2019 12:25:01 +0100 Message-ID: From: Dario Faggioli To: Andrii Anisov , xen-devel@lists.xen.org Date: Wed, 08 May 2019 13:25:00 +0200 In-Reply-To: <1557309578-6436-1-git-send-email-andrii.anisov@gmail.com> References: <1557309578-6436-1-git-send-email-andrii.anisov@gmail.com> Organization: SUSE User-Agent: Evolution 3.32.1 MIME-Version: 1.0 Subject: Re: [Xen-devel] [PATCH] xen:arm: we never get into schedule_tail() with prev==current 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: xen-devel@lists.xenproject.org, Julien Grall , Stefano Stabellini , Andrii Anisov Content-Type: multipart/mixed; boundary="===============3476941454164942204==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Message-ID: <20190508112500.7lbm9_qc1xsPzVBELdbjZdVuQLCrWK2cIOOsQzy9sbc@z> --===============3476941454164942204== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-B3cGo6CJPcM9jtUiJUBr" --=-B3cGo6CJPcM9jtUiJUBr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2019-05-08 at 12:59 +0300, Andrii Anisov wrote: > From: Andrii Anisov >=20 > ARM's schedule_tail() is called from two places: context_switch() and > continue_new_vcpu(). Both functions are always called with > prev!=3Dcurrent. So replace the correspondent check in schedule_tail() > with ASSERT() which is the development (debug) build guard. >=20 > Signed-off-by: Andrii Anisov > FWIW, Reviewed-by: Dario Faggioli Thanks and Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-B3cGo6CJPcM9jtUiJUBr 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+4FAlzSvIwACgkQFkJ4iaW4 c+6HyQ//WNWoTt6x4vxoZEtTcUMW65jdg8QVAVveLdchZwqrzaq0UBrAVGi0m4xY 0yk9g6pn09xSgYPUGQEFt+xjwcdeH3xa6GFieOofACSFThMeUjZtTM8qT/NoAOV6 +dzntraH8f2iiQe+oi+7f517i9E2wx16iNWs10C2DefXE/xOqlT4YeDDHVyCBj+/ QhwTS5ivXsHjQCjFtDCqPlcebPbinuq+Weob7fazeeFnMK6kY8loTXAo2LfB/gxB RuPqnD5HEKAIpkh+nWn1Uffgq/Cf4kvrr7OWpQd09qM9lxKCqWR2xLfP3abadc+O d3cQ99z02KEekhy2EaUXCEFARYmaNwT5TXzxcKuZM2188oUD93bueKwIpNbUpM92 ImX+bb84+s3w9dP5KRx5MO39gMoDo/yFH5PCzMFYTWtuDnJx8i2K5XakklcmxBHO 89Ku4L9ScWKfTOjfl1opHZInRzvM/8UtClb0yubC8wQOrBCV8EK1m2g93PvzwfY6 r63yV3KbdVhFW3O8wh7deJYo9yX2HkiU8Ug0XbZuvm1YuxT8wAZxoBWfGbBCA7Kb DUrHC8N68kavASrC944ZiKDptRDilrB7pPAo0JGluuY1YWOZFOUbF1Xd1cyi5uX5 sCxESb4c/Rc1101dK9zpjmG5J4ukhUvu0isB7sT6PIj6hjCYLNU= =lyN0 -----END PGP SIGNATURE----- --=-B3cGo6CJPcM9jtUiJUBr-- --===============3476941454164942204== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============3476941454164942204==--