Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4655823pxj; Tue, 25 May 2021 13:07:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6P9OW2e5rBBIv7XmSZmtnpdem7RrdDvZdNtXkXI1oKL5oxiwDMzze057flReumbQLZDzn X-Received: by 2002:a05:6402:1111:: with SMTP id u17mr6319669edv.87.1621973248792; Tue, 25 May 2021 13:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621973248; cv=none; d=google.com; s=arc-20160816; b=THHys50qtAL6Kpnk8E3eIiLm68oEVpE4eoSgkbmEoBWhDYzNB+++vIbx7Yxa4l57YG s7B5RG6RPvmvhvf0ecLMfSh177OrvKW81W5HL5qo+1UQIxGJYyouBwzH2c0HE6yaYooW N6a/LE3QtkhP3JqqBduFEzhSLir5EcKUC/AZDHYWmzxDfTvRsCDW40+Kq/9gyBrY+hW5 qtEPOpoMZ2EmEenQljcfqDVnaluf3mdAZ3qodo/hqpIs4zp/Spaz2iXo6z8INfbR8s8p TmbF/4C7YFUD+DcngDpO6ohwXmZt/qwW9dl2uPr31VD0/NQ+KlytVeFwfNeL0Ln6G9+U X16Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=o5bFZZx4+5hZCEtN64VRrO77CmVLQFfTKZ1IOxkh7y4=; b=zjoEopubbuFm5X13krpT+/oIk7Fg0j0UCcyO75jGeOO1XpgWxF2oF9fNWtjo75crHE p5r4jhzmwoj0q+pUTCPHVeb4qvMMmmaUB7l4zK4GxVJLY1O3u6+GwUcuKyFGuoGrnRgR o66VNYxgxbE2oq9RgYWitlbUTRd6BycKwTUljX7J6RIxBO06Kreqm38JqAMnqSJLcB7e eDUImLxZabzsUu/ZCG78M69PlnqARKneCqdH1tCf8usm2zrEJ52yPcK21bPNg2kXfhrg WUYodYIiVxJqaG0TKmB4QHMT3ZzAf7ROzCcOEbtPcTAAMgJS2y3NFftquz8TMUWX+QW1 7VUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EQu9zvAj; 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 z7si3878023edc.522.2021.05.25.13.07.05; Tue, 25 May 2021 13:07:28 -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=bombadil.20210309 header.b=EQu9zvAj; 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 S233812AbhEYRZ5 (ORCPT + 99 others); Tue, 25 May 2021 13:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbhEYRZy (ORCPT ); Tue, 25 May 2021 13:25:54 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2EF2C061574 for ; Tue, 25 May 2021 10:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=o5bFZZx4+5hZCEtN64VRrO77CmVLQFfTKZ1IOxkh7y4=; b=EQu9zvAjEeMWS3RIcy4/8iIvIc rM3SCfgb5Cboq+HFpszga4LKRa3UNIRGi27YMHHvxFJeomRiT2HPi+WEr9NILr4j/FFGY5Z6a33iU tZ5apUog7W+F+OzOcSl9hDVz4KUvrJwKOwD/EnCYBSS9ssCJ2+FihV3B5aRI6/u8oHX4Y9Z6W49V4 wAlGc3LOOce9N0EVwSKzk3RuZnNOZ5FhEgYErurzUssV+xFOlJbH0TIK3CPYvDC6GGRk6ChBVaUMP /Ft07qk+DhIvRfJP3xiK0abmxuGEvqjZVhjkIgfkyfJK6IW0rlR+KLf4gCEjFQ2wPjuOJWWjsHl72 w5zdfJ3g==; Received: from [2601:1c0:6280:3f0::7376] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1llamt-006q9u-3w; Tue, 25 May 2021 17:24:15 +0000 Subject: Re: [PATCH] sched: Add CONFIG_SCHED_CORE help text To: Peter Zijlstra , Hugh Dickins Cc: linux-kernel@vger.kernel.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 References: From: Randy Dunlap Message-ID: Date: Tue, 25 May 2021 10:24:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/25/21 12:05 AM, 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) Reviewed-by: Randy Dunlap Thanks. > --- > 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. > + > > -- ~Randy