Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4152092pxj; Tue, 25 May 2021 01:22:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0HoM8bSpiQ7K546KQxo2yFtEapSbQ29JFQdhoQezLDtHLyEpXvNj48Htw+H92SD2WV+kw X-Received: by 2002:a05:6e02:b4b:: with SMTP id f11mr22144959ilu.253.1621930934439; Tue, 25 May 2021 01:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621930934; cv=none; d=google.com; s=arc-20160816; b=Wze8eQEgGLHjoAovE0kwdXwT9AHYOQ++y2hXBQM5FK1FxaAtCEYqB/6NdBDmKpwTGJ QKj+sK/ROPAhi2Z+Qf0a0j7fj2l7SmsOe+0aASqdXfXHM+j7UOl7RFkPJrBgHSoK5eD1 g0r6lPSUwISO312R2iHJwLBkp5cKYiiP/eupofMuDMbdKuTF84xx2ld4l9C59tx5LuRq 5P+rgGmkjhwQX6XXx9PfwJhnSbbCy1M7dDdOQL3IY/m4P1Un//ByRwLup9XD4i1HGxWu +iOezvGoe2g9VtijxL0uZ+Oofx3ob0liDaDhjeTJ+UBu4OuwAm4hazaQtn2HRiIZfD6P vpKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=94rRe8DncEJ8thzWN8Ue22a749mm1JoE2gXK/Suv76I=; b=gtU4lDXN0z8PKjw8/k045tA0ubhK/sSz2KCfWU7V5+iNQoc8UVxRMROG0Y+EKg5X9E LwkWkGx6ffEhCOnXkozvHyEsDc/UmCSjp4Kkls+vAExYkQoXP/V2h83AJ+zqpVoCW5Lz OKW6BqH05OKlWLxcSp3wbLVlfxSuoAfmPAs0mti8DHGoC05TWOLlfWzxPnAHK/lDBnlw xvSOWBVehicCgKjZHGOYId/VE8KhFuZCa0Gj8YXLHXDNg9bNUoP/f0ellivcz4dT2vf7 YW05mSuqwEhXj6WhVvnyCP0RGlHiNFzUR44hq6ZEvMv+MKxEpCtEPdvqUI7oAQpx/vnx edTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=LXm8J+MJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si15676105ils.122.2021.05.25.01.22.01; Tue, 25 May 2021 01:22:14 -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=@infradead.org header.s=casper.20170209 header.b=LXm8J+MJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231442AbhEYHIY (ORCPT + 99 others); Tue, 25 May 2021 03:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbhEYHIW (ORCPT ); Tue, 25 May 2021 03:08:22 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD9C2C061574 for ; Tue, 25 May 2021 00:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=94rRe8DncEJ8thzWN8Ue22a749mm1JoE2gXK/Suv76I=; b=LXm8J+MJAO2E9OxBokUduDn+o9 eaN62R+9BYqrcFHGciKpn4s5Ur83WArkjKGmlt0q/nPRanDYYecA4I3xH88lavr7h4cfWAvcE6rpR T4mCUkv1M9w7nNZJQ2X30gj0txVOlUbZh4GQzO4wyHhHtswRIKaau58Mg5TrEnamm8MICEBRjs+Vm fmQYicstPYK8BCCUFp78HQuAVP26iVD23UJbUmiwUuMTpM84aSAM5+aJ6Fz1+FG0B2X8s1dD5AqG9 qIbA8+qMdbpRTLfm2NkfQKeBrT/1jJ9YvYi/4TwZ1WAI3xetdmxjWaerxcE/AGHipMWK6IJeVZ4e5 eVjgwI+Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1llR89-003DLT-DO; Tue, 25 May 2021 07:05:38 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 13055300258; Tue, 25 May 2021 09:05:27 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CC55030E92289; Tue, 25 May 2021 09:05:27 +0200 (CEST) Date: Tue, 25 May 2021 09:05:27 +0200 From: Peter Zijlstra To: Hugh Dickins Cc: 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: [PATCH] sched: Add CONFIG_SCHED_CORE help text Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) --- 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. +