Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2910230ybi; Mon, 10 Jun 2019 00:27:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqx13AlI3a4/uaoPHmuIRQImrvmhXx94KVSpliYneAci0x/FaDPktmfr2lQ9h5VNaDeCzrPn X-Received: by 2002:a17:90a:8c82:: with SMTP id b2mr19509598pjo.97.1560151638702; Mon, 10 Jun 2019 00:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560151638; cv=none; d=google.com; s=arc-20160816; b=DVrbWY+V7r2KJ/r0o4wYKXRRzlLNDulUlMofOyTTVjmtuVjjg7P7D9C2WtNJgqOAD2 iG9WnLPQA4EkuQmnvKcfzxAwSJBw9R09BNJTaPscLQA2Q49bX/jQFSNLeq0ms1YereJs uUP75z/qwDClIUDllnn22grxQehDGDVCXx915iy1e1g75chXph386sRFQnpXgDk2J6hd u25CJOqGZOtDVHeGdCILiKhiBD3sq9uOdVNn5QfMLQUuy0YSbwJdbmH8hlkw0Bhu5eRk dOtYi221QgZCDr/1b4426sPcKNyLKsOR2D6wTpBV43MH6CE0swCcMFdPwY0i2D9x4LwZ 74EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :user-agent:mime-version:in-reply-to:references:cc:to:subject:from :date:dkim-signature; bh=daFxAMryc0skAl9XtVIwXmNQD/X9Q30Ey2kxgBive84=; b=zmK53sld8l0iUUdct//EZQ1VOXQL8kL5dhtAmDG/yPENthS1etbmpSbdHTrRvRbZlf wjG3xLKoV3G7qLXA45eIixaMVTSBqAKz9C00Axr6R9Jup7VemdMcTIy6ZX4zIPixtJER NwCVuKV/TETHLmkE4YtirRUriNoxdA8Fj8eZljnCgnGl0s1eNAwBqJsDGTiRuGbPIyFl apO68xSro7wGxb1NMxz+JCuSCRSyLiTuwJWt3kiIh0Z02wqyUNHlNQtAVoLKCiDwjaRT F0lD0nkgAPnkmtqG+czFQsobNGKHDZAEXaALyIs3ySA0uvd+o04UiUkBolDJPVgQzorV 7Xew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Dqc1l/3r"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si9118503pgr.413.2019.06.10.00.27.03; Mon, 10 Jun 2019 00:27:18 -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=@gmail.com header.s=20161025 header.b="Dqc1l/3r"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387969AbfFJH04 (ORCPT + 99 others); Mon, 10 Jun 2019 03:26:56 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37201 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387541AbfFJH04 (ORCPT ); Mon, 10 Jun 2019 03:26:56 -0400 Received: by mail-pg1-f193.google.com with SMTP id 20so4557362pgr.4 for ; Mon, 10 Jun 2019 00:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :user-agent:message-id:content-transfer-encoding; bh=daFxAMryc0skAl9XtVIwXmNQD/X9Q30Ey2kxgBive84=; b=Dqc1l/3r07Dlb2xjooJOtEAGLplKK23A8/eyDg4VAEqZgsP+01f5Cr4w+9z9eEe7qt 2biIKGF3iAf24r5XEXkdEaygP/wEARYoEvHp1P7ukQ9LZV64gt6iO28UpjH+Rg4EBjs1 xAyItWOi/v9DQVk1xalnJ8wUicxrdx4bERuxtP3fAlHpDa51qugN3CZdFcDWuNbD7xMG dljZtJU8cwvVz07FDENnJKauePx/fKCw80YBYFzteThhIVwyD9hM38iI2H0vYMEBFDeO zVvpY4SPpR+zuPcp6XeCQKnecgzVEG/YcoUDJebTRDYUu9QvbFg75MBf4xaew/A/bXFc MtwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:user-agent:message-id:content-transfer-encoding; bh=daFxAMryc0skAl9XtVIwXmNQD/X9Q30Ey2kxgBive84=; b=AZFIGZSw7DgS9H9+6jupGGEbVvUeN6zM4FciFBQHCzA8tHpWW/KIq0MFxPJTYotwki fkFPOArNys9SpG4dVtG7GAGVDreY479XRJiwjuxuOKSUyvpo42TOc5qtnh9WctSlehma ef9iZJ9BZF5Y/5821F2k6lEG5Tf6wfgq/1YwPYukv52rAUOC7ReoTl/KxLJXLlZiNlRa 6PleSc7yUkYDGh7BEAQ+VYrRYUiboL05+iqEbDKlDdtxUBAZkvjsT3Pqntc+uI+5xfo6 mbMfmh2hGp4MbAZqMztKhLuyCw8TjBXrEVtlqeZS+amu1sSp1ZlBlUOJWDo7MjpIdfi6 wjZg== X-Gm-Message-State: APjAAAUjaJTGpv/weyLtI+zHHQV8JejnsVYtnl2hubIsbP3hfh2Bpkwo x3s8bGQvKLk3/DVCKHkgLVKUizoh X-Received: by 2002:a65:4b88:: with SMTP id t8mr14950808pgq.374.1560151615468; Mon, 10 Jun 2019 00:26:55 -0700 (PDT) Received: from localhost (60-241-56-246.tpgi.com.au. [60.241.56.246]) by smtp.gmail.com with ESMTPSA id a12sm11252494pgq.0.2019.06.10.00.26.54 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 00:26:54 -0700 (PDT) Date: Mon, 10 Jun 2019 17:24:32 +1000 From: Nicholas Piggin Subject: Re: [PATCH] kernel/isolation: Asset that a housekeeping CPU comes up at boot time To: linux-kernel@vger.kernel.org Cc: Frederic Weisbecker , Ingo Molnar , Peter Zijlstra References: <20190601113919.2678-1-npiggin@gmail.com> In-Reply-To: <20190601113919.2678-1-npiggin@gmail.com> MIME-Version: 1.0 User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) Message-Id: <1560151344.y4aukciain.astroid@bobo.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. >=20 > An 8 CPU system booted with "nohz_full=3D0-6 maxcpus=3D4", for example. >=20 > 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. >=20 > 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? Thanks, Nick =