Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4756494pxj; Tue, 25 May 2021 16:01:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze6oSijTiSccyQ/wV4OQSw17O2PgKQD+IA4XM7vcB8sExyyN9Ev71a6LJ5CEuxVwNeS/7O X-Received: by 2002:a05:6638:2594:: with SMTP id s20mr33715809jat.140.1621983663278; Tue, 25 May 2021 16:01:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621983663; cv=none; d=google.com; s=arc-20160816; b=E0CKWpfQEdSFqguoyyCRwyxNoh5wKBiGiMzQqyOHO6P1UzduBswAh2ZIacVwEvxl3M QpY/8koRPijLgdggnwW/2XAiikfpGiL2DlGMbDzi05jd+mByg+eJ/auRvZqfjHRbqEfJ EmGKGKFdkNj9VWst8A7b11q48h02ctVE0jKWbA/rBl3oBUyMoHb87P2rZZGSirjGDDvX Y/Pb0gNWErCj7ysw3Zerxg5FAjsMsD3CpI7d5rP2i7yKbsjUTxc3uTkjjyYL2r3srkD4 R2onZmvx5fWlNiHUmiYwWyWgjrMNkf8KRvUSOnrC5Ddh/V8B9VI+emPWwHsRGJ40OupL Vvrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=rAt0rX4y6MI6ZB6kkQP4Yst97dY399ucmi/u+eK/3GY=; b=dvpu/Zo18UqQlJ68MTJYhX+DafPDUs+hi+mmwOfwWTZBLVSLrL7h+yvD0mgExLdWpX oMkRbV1dDOvdCYnbc/Kgijj0T2xWsnx7Fu84JM7/26kd7g0yfb4BzB0DOoltd4S9Lxz2 oIOCGruIHK13PfH21LcGS5kE43Ne0qHqrBl+VW5Yla8Y+LBL34qqJSUYCCF0UJ3ogZhc U1mKsXEOTQOYtakg5Wo1nRuFjNmB+A74fymVdZtl3z5U/OZ9gVFB/LGcZ3U15srPF/oK 0qTLDMs6Udlfjmgq1GbwCatt1dPzqaXL0QPPgV14w4MeWivO9MgRwGBOqVLWgqi6zueF 5AiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CtjGKGpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si5645225iow.93.2021.05.25.16.00.49; Tue, 25 May 2021 16:01:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CtjGKGpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232537AbhEYWTG (ORCPT + 99 others); Tue, 25 May 2021 18:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232088AbhEYWTG (ORCPT ); Tue, 25 May 2021 18:19:06 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B827C061574 for ; Tue, 25 May 2021 15:17:35 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id d21so31742831oic.11 for ; Tue, 25 May 2021 15:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=rAt0rX4y6MI6ZB6kkQP4Yst97dY399ucmi/u+eK/3GY=; b=CtjGKGpYznf77xLWs1Ue894zcq5aWq12bzNkODUdmqJyvv+cHiAoUUskWgoe9xl/11 j5gT6aIS40ni40dDrTZOZDHg6VQazpry4qrXTrK0HFIhsUbMRYjmW1KPoLGmYYAJiCmN 1J/WAjt9RNxB5C/oBHI3Gjvhkv/IzMV2clwDA1rkz3TRmsKUGi2HZrFyatbwHR+hkIWC 1DrJXBA3q31620hFXQEElNaKOR1vnh5bj99SAhequye3cyItSQKbjaAM+uRfvABcK5Xu 7bw1Dl9UtN1HiPGVHHQJX9ymvrEdFFYRTicmKY9Gw8bxBu1jt4VlimEx3bSfHcwpyVjB OEdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=rAt0rX4y6MI6ZB6kkQP4Yst97dY399ucmi/u+eK/3GY=; b=eqPEK0BTYedTD4u+NNqX9RhC14O5jA+bG4GRFGf4KypNlPTKWn4HP5sqMicfLSOFYE 62BX5mGpg8l0fvz45X52M6Si9iACg+k1ZxEyeUWqEj2PN2p9RozO/jrqlyGqqKSuwwCL ZRIINF1Zq6J6F9bJ0cMx2+7fBZEOAIPf6GTX3gd8UiBz4NRbWaj8SKDgCMSzntjuhKHy mDeK9XK4HL/sZJR3I1cF7TfLqe4OgmZQ1YTtiF3A8B5wYalGhsHvbJg/co1FVlOC0ZaL L+L3aVLhd6wlFTFzOSJ2FnFiwJfXlMCIrajnS/9LuHJcu+x7L++3FwnR4hAPpUjEsanQ q3Fg== X-Gm-Message-State: AOAM530TOhNSVF3/5+HS9haWCfILxMW+tP6U7W3hRTj3Q3jRwpPZ/e8q hcV357wZGdpGmsUGbAJDgh5gZ1/Gs2FAow== X-Received: by 2002:aca:1702:: with SMTP id j2mr333254oii.1.1621981054278; Tue, 25 May 2021 15:17:34 -0700 (PDT) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id i26sm3718106oos.21.2021.05.25.15.17.32 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Tue, 25 May 2021 15:17:33 -0700 (PDT) Date: Tue, 25 May 2021 15:17:22 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Peter Zijlstra cc: Hugh Dickins , linux-kernel@vger.kernel.org, rdunlap@infradead.org, joel@joelfernandes.org, Ingo Molnar , juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, Valentin Schneider Subject: Re: [PATCH] sched: Add CONFIG_SCHED_CORE help text In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 May 2021, Peter Zijlstra wrote: > Subject: sched: Add CONFIG_SCHED_CORE help text > From: Peter Zijlstra > Date: Tue May 25 08:53:28 CEST 2021 > > Hugh noted that the SCHED_CORE Kconfig option could do with a help > text. > > Requested-by: Hugh Dickins > Signed-off-by: Peter Zijlstra (Intel) Thanks, Acked-by: Hugh Dickins if necessary (but there's more than enough of me there already). > --- > kernel/Kconfig.preempt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > --- a/kernel/Kconfig.preempt > +++ b/kernel/Kconfig.preempt > @@ -104,4 +104,18 @@ config SCHED_CORE > bool "Core Scheduling for SMT" > default y > depends on SCHED_SMT > + help > + This option permits Core Scheduling, a means of coordinated task > + selection across SMT siblings. When enabled -- see > + prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings > + will execute a task from the same 'core group', forcing idle when no > + matching task is found. > + > + Use of this feature includes: > + - mitigation of some (not all) SMT side channels; > + - limiting SMT interference to improve determinism and/or performance. > + > + SCHED_CORE is default enabled when SCHED_SMT is enabled -- when > + unused there should be no impact on performance. > +