Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp850070pxb; Thu, 19 Nov 2020 15:44:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLsouQtGSpOfDShYTXpmc6+u179cuwqFPDV3Y70fpdZJ9XNXvzdGSS+/zU0ZxuWC8T4DHQ X-Received: by 2002:a17:906:f8c5:: with SMTP id lh5mr32357272ejb.77.1605829465930; Thu, 19 Nov 2020 15:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605829465; cv=none; d=google.com; s=arc-20160816; b=sMW9kSilJTdbZWNQTVGtLvLDMk7FfyKGErIMH6ozIeMB3UKHAWLoI4gT/fsWfHH3nB Nur8z1Y43Gv/5LLfOK6/9B7Y/Zg7P4ZXLmvLL78ji8nEqfjzngIekISWRTWonBZTjnCP AmIEcGo7c0b5zsVzAUjLkFYPziUcgxacjnzAk2nS2IZUltg9J8iG1d9OtMYUqCJvnWL6 P2hmAyKKqBkW8kkmQPi6q5qDL+zrnBc37LW4/moByckboA9btfZgv7S2A1y+WW7oV5WL OZPU/PraGUtBP5+L58EH1g/PoIniLC+/V9rImbOmfEf6YjlF1Wo0EyqcKOTSAG1yx9sm 0oWg== 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=nbuMCLcHNoPm8FVITFvDqVnVa58wCfKUh959Z9CMoqc=; b=DTmj9uQn+enQY7VM+r4FhSJ9QlgtqCVjjVxUEXCNcO0AddVPw8w1xXqVX/hMGFQAMG zpNzizL8aoXThs21BoXcvz0Q3dMS1rF7VA/mRpgQwh8533vV+okEP1QPfWq1/BsFDMEi UxVxiKIPDJqI41/zdz8GemC+kWVnZiZ5uQ+pKYGVm/Q3JY8pBPXPMz1hjdXhTHk8s2H6 1Ej/KKscn+qcv66LO8vVlHV7cx5lGa7nQ7rsY0aDh3iOoj2u4OCUkgNrvIFZp7JT356w 7IQN79+HUPMQeh6T9QpmTtBK//ZAlxGUImOALJvNWxqkoKFvj4xswgyaEn1shL7naroS eN/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=w8mDAJFf; 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 rs27si242156ejb.25.2020.11.19.15.44.02; Thu, 19 Nov 2020 15:44:25 -0800 (PST) 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=merlin.20170209 header.b=w8mDAJFf; 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 S1727222AbgKSXkn (ORCPT + 99 others); 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