Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2888051ybi; Mon, 17 Jun 2019 12:07:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPrvKNZz1XXpC0EB6eYqD5oOoYVyElGntwna5r+rCyWx0T7p/WffAlgLXwLMB0ImIhsCoi X-Received: by 2002:a17:902:22e:: with SMTP id 43mr105060802plc.272.1560798443819; Mon, 17 Jun 2019 12:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560798443; cv=none; d=google.com; s=arc-20160816; b=mrHM8SR2y7VyhgHrEt8wuk4lnW3nU9m2mYw2FdliYQz5txr6C9oaQ8KiPCZpmgQa+3 SL/BesW0+cb5UHdZUUJJKeTkPzxYo8EAwMypTCBPsZ9hYGW9vOqsWECi08/iTcelX3/1 GC0plPAUQAOi0S8ys6d+jB7+P+THe62WrVQXM1Ws6ph8vpL00Iq9ALDVRyCPohIg0A02 b+v65J5n+fJ5w6E2FULSiIDZ9IvL6p0m2/rTgukLE4yXWFIsu8+LIbIS059hOBqP7YNr 4rc34W2AG4Mmej4TaYnRkSIFTmRsZEKikiBUh37qvMWs10TO+HxCpsw7cA68c+XipS/q HYXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vRZvx0x8xj0BaAV2rzDfcdX+011dx+KyLa6dZ8K7mSE=; b=c5KatCnyz4hVri0G0TSDeCfyzTJBzopuOKIsDp2lusO0xHJlvVEt3QGRsrhhMNqBBh FwzoXuQ7xwOhp+VH85GLuVi3kgSXQOOU1Z9FiVWr0EMLEbOdY6l4SE5htHVspmhJMc/W +FqcMUEUetB+1tz716VeoYHcqnB680HxI5UoKJDgF2AJrY/r//256wh8A27q2dKqAOhf 1cv+hEY46aTUHsQwbrUJFi/AwVASonxZBxpe6zSxaBzWf1+In4GWqLZTdsncX8R1kbhg Nf1X04EXsJrgdYVEUqDDUWSAXUdZjpzYv8PXRHJZoWtaQWeGylbLonWh5EhHgtMYmwb+ KPWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JN8AQdeq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n21si11399318pgl.480.2019.06.17.12.07.08; Mon, 17 Jun 2019 12:07:23 -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=pass header.i=@kernel.org header.s=default header.b=JN8AQdeq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728707AbfFQTF5 (ORCPT + 99 others); Mon, 17 Jun 2019 15:05:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:54732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbfFQTF4 (ORCPT ); Mon, 17 Jun 2019 15:05:56 -0400 Received: from localhost (lfbn-1-18355-218.w90-101.abo.wanadoo.fr [90.101.143.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CE28D208C0; Mon, 17 Jun 2019 19:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560798356; bh=gwzKMKnkmpb67LuXLZlwngatPFxjDRv5Gfxfrd5eRt0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JN8AQdeqXwbZLY0TGP1Dn54Mw3jGKe3Db5jPGYTh1Ui3UoHhoNMeybWRQnEqir62z GZspIYxrYFO6ED600iqleEgHADxoH12TxLn+uksww4mdqXBj4er0ZCRIPW+gShMHBQ 8tPEGvva7imgFptxqpivsZJiaYS413/0gqWYXUtg= Date: Mon, 17 Jun 2019 21:05:53 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Nicholas Piggin , linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: [PATCH] kernel/isolation: Asset that a housekeeping CPU comes up at boot time Message-ID: <20190617190552.GA10264@lerouge> References: <20190601113919.2678-1-npiggin@gmail.com> <1560151344.y4aukciain.astroid@bobo.none> <20190617155931.GK3436@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617155931.GK3436@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 05:59:31PM +0200, Peter Zijlstra wrote: > On Mon, Jun 10, 2019 at 05:24:32PM +1000, Nicholas Piggin wrote: > > Nicholas Piggin's on June 1, 2019 9:39 pm: > > > With the change to allow the boot CPU0 to be isolated, it is possible > > > to specify command line options that result in no housekeeping CPU > > > online at boot. > > > > > > An 8 CPU system booted with "nohz_full=0-6 maxcpus=4", for example. > > > > > > It is not easily possible at housekeeping init time to know all the > > > various SMP options that will result in an invalid configuration, so > > > this patch adds a sanity check after SMP init, to ensure that a > > > housekeeping CPU has been onlined. > > > > > > The panic is undesirable, but it's better than the alternative of an > > > obscure non deterministic failure. The panic will reliably happen > > > when advanced parameters are used incorrectly. > > > > Ping on this one? This should resolve Frederic's remaining objection > > to the series (at least until he solves it more generally). > > > > As the series has already been merged, should we get this upstream > > before release? > > I was hoping for feedback from Frederic, lacking that, I've queued it > now. > Sorry I just came back from vacation. Any chance we can use a WARN() instead? I prefer to use panic() only when data is really threatened or such. Thanks.