Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3708118imm; Wed, 5 Sep 2018 04:52:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbESYbfXP9OtTk+OH+45ysRP5jEdAVNcGm4Hs/UWVFPJ0cD4frZ/rgdS35iqXoQbYFBrxLA X-Received: by 2002:a17:902:f096:: with SMTP id go22mr11572201plb.183.1536148325743; Wed, 05 Sep 2018 04:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536148325; cv=none; d=google.com; s=arc-20160816; b=G5QevUkBfV/E/6v1psw6t5e3Tc8M+orc7ixp3kG2zOFSoQHn4t2BsS5O48A2FPZDWw 9KltWwLcn9vQTBIGqNz5yS1zRvns30385G2QVP/4I4Q7CBJpbL7uQqP3qlSUDzvR+eYw 0ESnpE3kSOuJrMcPtoYshaagUMIDo7iorReXd7imh6paOGoKh7x9SO84Tim8igTn9B9/ kLPe4FelcwXu83+9ZlZKwEVuZSlvhlTELzn0n4Ju6JBP0Zvky7goz8xsyJRpYenfUBeQ cPZkm4sT+aiRIfaIWT1Be9TN0TsuJ36ujw5FRra5OMy1QTiB6cUSbMuDg3UM/MAtiUf4 4smQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=A+eJmaJDrDcA/dBJZg94K8jc1FAAIH0z9Qir5owBZGQ=; b=ENITM40G4JR9SOgi1BVw7QpSt8S1DVGAgV0oMJMRwJL99e+g/fw+zpq0hpVvzxulg/ VFRn/aeU8AEq9sZYl3Oa+Zp6hEZ9+KGNP6cpCG+tCHgUQH7evxxXxq5GY45oCITc9YnU iEzhz7YrZ8eHY1NXtOO5XQu/v0Gj5hH8VvhwhwKP8t6MHH3nizNDMT/Dxyq0x/BsgxW0 laUOXU+QAO1TgXH9tm/B9YMRudkBSZbyTdv3SjKgr9W0fuTngbgtcwbjSZQmcvplg+IU DkilMrmK9sNlbcze33JVReOyEzuZracxrpIOI/FrfIGb1X9eCCR8kzZv5fx+kFnBGPnw 4nIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b="eEmD40/G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r194-v6si1820590pfr.100.2018.09.05.04.51.49; Wed, 05 Sep 2018 04:52:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b="eEmD40/G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbeIEQUU (ORCPT + 99 others); Wed, 5 Sep 2018 12:20:20 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]:19386 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbeIEQUU (ORCPT ); Wed, 5 Sep 2018 12:20:20 -0400 X-Greylist: delayed 4194 seconds by postgrey-1.27 at vger.kernel.org; Wed, 05 Sep 2018 12:20:19 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1536148225; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=A+eJmaJDrDcA/dBJZg94K8jc1FAAIH0z9Qir5owBZGQ=; b=eEmD40/GDqVn68BD+hDVEFJ+NHnl/7j8aLxEE9VwbC4iijwqpOxdU0pkfDp3R92ZJ8 sweTN4JInNnOVVsjG08xvMRSMhpPaK+/ZMSn3tI9MsV3Zm7ZzUE/WMkqbaI6Wyd+PXXM aHfXQZoD/osFGoT/yPxw9aJdqQ++WroqsoTU06zToXHVRMBvsjlP/92V5Palc+N6Hq/j zdCa9+a0GGIYq+wDUWDCL+0mRGaX1c5/+VD2adnx8QimvHFTCU2yTKeXIcvoOaTcHZto iwyJNthMkwCDs1gBnnwtfN+c5aXileRPYiaamvSA+U9E0BiZYNQRfzEWJjPqZXHUgtK4 Bbrw== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QED/SSGq+wjGiUC4oc0Nr2ihluivsAQtyRsdRVZ54BGpAypu4eYvjwzPAqxRcXNDW+" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 44.0 AUTH) with ESMTPSA id L0862bu85BoO5DZ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 5 Sep 2018 13:50:24 +0200 (CEST) Date: Wed, 5 Sep 2018 13:50:19 +0200 From: Olaf Hering To: Juergen Gross Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky , open list Subject: Re: [PATCH v1] xen: avoid crash in disable_hotplug_cpu Message-ID: <20180905135019.56b303da.olaf@aepfle.de> In-Reply-To: <7630aac8-8588-6e42-0807-f98b66ce37b5@suse.com> References: <20180905104039.13512-1-olaf@aepfle.de> <7630aac8-8588-6e42-0807-f98b66ce37b5@suse.com> X-Mailer: Claws Mail 3.16.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/9_A9212rbA3FEtpY02kkZAv"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/9_A9212rbA3FEtpY02kkZAv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Wed, 5 Sep 2018 12:55:58 +0200 schrieb Juergen Gross : > the last cpu Which one is the "last" one? I mean, if cpu#0 never can be offlined than pe= rhaps the code should check for just that and return early. But if cpu#0 co= uld be disabled while some other cpu is the remaining cpu, some other check= is needed I think. Olaf --Sig_/9_A9212rbA3FEtpY02kkZAv Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCW4/C+wAKCRBdQqD6ppg2 frlGAJ9IqMrNEZ+KR+wJ/FSquh6l+aGV6ACeN8hFlwCo1KKm1VhjD09C4UsVH4Y= =zyjz -----END PGP SIGNATURE----- --Sig_/9_A9212rbA3FEtpY02kkZAv--