From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C353C388F9 for ; Thu, 19 Nov 2020 23:41:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D02F9208FE for ; Thu, 19 Nov 2020 23:41:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="w8mDAJFf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727236AbgKSXkn (ORCPT ); Thu, 19 Nov 2020 18:40:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbgKSXkn (ORCPT ); Thu, 19 Nov 2020 18:40:43 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E56E4C0613CF for ; Thu, 19 Nov 2020 15:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; 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=nbuMCLcHNoPm8FVITFvDqVnVa58wCfKUh959Z9CMoqc=; b=w8mDAJFf3fHHmZox3LAtlQZD18 vUwQsk9d00Of2HSJyZ+oGKfkU8Xtm9mQWJQx40wJrev42F8FGt25xjrC0LK2TzwkgmC369K6vsY3y CCGSLGFpC198xVGVgghRzHQOplaArN47zugI1amyaCwP6aOmLZ0crIpopg8QvsYPJ3cuHUeujCXKX CLdkKgBIAROnPL1ARH8n90t/hgohPkiB2vsWK4dy2OUu1ShkOb7kZh2QP8TWnA0ETfEOwbkiFwq+Z S65SaDc913UtCzJbBC6PFT3mKA7aoS9J7gJbNjrp/E39Mlk9M5bJLa/+sI5mVWyBp9Yah48pDAIP4 lzFa7Mog==; Received: from [2601:1c0:6280:3f0::bcc4] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftWU-00079l-7W; Thu, 19 Nov 2020 23:39:30 +0000 Subject: Re: [PATCH -tip 31/32] sched: Add a coresched command line option To: "Joel Fernandes (Google)" , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , Vineeth Pillai , Aaron Lu , Aubrey Li , tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: mingo@kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, pjt@google.com, rostedt@goodmis.org, derkling@google.com, benbjiang@tencent.com, Alexandre Chartre , James.Bottomley@hansenpartnership.com, OWeisse@umich.edu, Dhaval Giani , Junaid Shahid , jsbarnes@google.com, chris.hyser@oracle.com, Ben Segall , Josh Don , Hao Luo , Tom Lendacky , Aubrey Li , "Paul E. McKenney" , Tim Chen References: <20201117232003.3580179-1-joel@joelfernandes.org> <20201117232003.3580179-32-joel@joelfernandes.org> From: Randy Dunlap Message-ID: <2080fa5d-0a64-b006-d746-eb6de42aed8f@infradead.org> Date: Thu, 19 Nov 2020 15:39:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201117232003.3580179-32-joel@joelfernandes.org> 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 Hi Joel, On 11/17/20 3:20 PM, Joel Fernandes (Google) wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index b185c6ed4aba..9cd2cf7c18d4 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -698,6 +698,20 @@ > /proc//coredump_filter. > See also Documentation/filesystems/proc.rst. > > + coresched= [SCHED_CORE] This feature allows the Linux scheduler Unless I missed it somewhere else, this "SCHED_CORE" string should be added to Documentation/admin-guide/kernel-parameters.rst, where there is a list of "qualifiers" for kernel parameters. (It looks like you are using it as the name of a Kconfig option, which makes some sense, but that's not how it's [currently] done. :) > + to force hyperthread siblings of a CPU to only execute tasks > + concurrently on all hyperthreads that are running within the > + same core scheduling group. > + Possible values are: > + 'on' - Enable scheduler capability to core schedule. > + By default, no tasks will be core scheduled, but the coresched > + interface can be used to form groups of tasks that are forced > + to share a core. > + 'off' - Disable scheduler capability to core schedule. > + 'secure' - Like 'on' but only enable on systems affected by > + MDS or L1TF vulnerabilities. 'off' otherwise. > + Default: 'secure'. > + > coresight_cpu_debug.enable > [ARM,ARM64] > Format: thanks. -- ~Randy