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=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 60FD3C34047 for ; Wed, 19 Feb 2020 12:41:22 +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 30B2924654 for ; Wed, 19 Feb 2020 12:41:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30B2924654 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 1j4Oew-00026e-Su; Wed, 19 Feb 2020 12:40:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j4Oev-00026Z-St for xen-devel@lists.xenproject.org; Wed, 19 Feb 2020 12:40:57 +0000 X-Inumbo-ID: 1329c752-5315-11ea-bc8e-bc764e2007e4 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1329c752-5315-11ea-bc8e-bc764e2007e4; Wed, 19 Feb 2020 12:40:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 69B78C0E6; Wed, 19 Feb 2020 12:40:56 +0000 (UTC) Message-ID: <694b0aab633ae6eeef9f3aaa3e27facbfbd2b779.camel@suse.com> From: Dario Faggioli To: Juergen Gross , xen-devel@lists.xenproject.org Date: Wed, 19 Feb 2020 13:40:54 +0100 In-Reply-To: <20200213125449.14226-4-jgross@suse.com> References: <20200213125449.14226-1-jgross@suse.com> <20200213125449.14226-4-jgross@suse.com> Organization: SUSE User-Agent: Evolution 3.34.3 MIME-Version: 1.0 Subject: Re: [Xen-devel] [PATCH 3/8] xen/sched: don't use irqsave locks in dumping functions 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 , Meng Xu Content-Type: multipart/mixed; boundary="===============0934646744313821089==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --===============0934646744313821089== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Rv9u+BbGO9Fq4cvcjDk1" --=-Rv9u+BbGO9Fq4cvcjDk1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2020-02-13 at 13:54 +0100, Juergen Gross wrote: > All dumping functions invoked by the "runq" keyhandler are called > with > disabled interrupts, so there is no need to use the irqsave variants > of any locks in those functions. >=20 >=20 To me, this patch looks pretty independent from the series. I.e., whatever it is that we will do with locking for keyhandlers, it's ok (actually, it's better!) to just use spin_lock() in scheduler specific code. So: > Signed-off-by: Juergen Gross > Reviewed-by: Dario Faggioli Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-Rv9u+BbGO9Fq4cvcjDk1 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+4FAl5NLNcACgkQFkJ4iaW4 c+4qbg/8DGrgb3IGn6sU/WJbBBEmhuJ+VXVMX1I95uLEUEPU53wtnP36EV3UIBIg 6CCncXilG3uquIXHuj/wCZPUbipdxQIeN0gvG9/ZlS92mQlIkExw0lIJNmCD0WTF eOMN82TYDhAvckHP+0rfPIOOCdjJ+EerQWQ86g9qxkDeG3sEAEIBWEVqFyvQLeuz ajQoS9nwDfMmCKcKTlRFX71RYSWMlHubJsTedmBeAiqhgTJkPV2Uwr04KDfF2OhI Oeb70/ckY5t7RkQMEq1FF/4xU2AoBhu4NaSK4WRKqXWwdEDkKpL4QXB0QwaCINOi sKvt8zsUtLHb5E0/Kav8m/fmwZDR+TzDE5bJZ3+YbMnirbxuu1+akV2sO/DcwtJQ 5yamVsfE4IF1Xx/uwmfMyQf1xMeyFE5QpAfpOKeQYlcG9KFeOVFTp4Ba25yQxo+g X3KRhUMRe6ZWj6ftad87BgjRsHfxedzHS30KxFv1hljPNP5BkgmuACm1T6mv56Ya jGDqAZ3dRBXPtcZQ93iczLtrgGbOpJGCyS8xe/5tJ1P3j92TFTJlYc8PVoC/Gxll KSoICIOFlA4UF2ddipIreCjCCoaPbAbxDt0yUYQzaFeQB0hPif9ntCgs1r3XZ7IF OYH6rO+sZgB53jHQPV5Yv+lo+zuKa+RXvAoASXnuyc039g/RCDY= =KEr4 -----END PGP SIGNATURE----- --=-Rv9u+BbGO9Fq4cvcjDk1-- --===============0934646744313821089== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============0934646744313821089==--