From: Peter Zijlstra <peterz@infradead•org>
To: Valentin Schneider <valentin.schneider@arm•com>
Cc: "Juri Lelli" <juri.lelli@redhat•com>,
"Mark Rutland" <mark.rutland@arm•com>,
"Kefeng Wang" <wangkefeng.wang@huawei•com>,
"Rich Felker" <dalias@libc•org>,
linux-ia64@vger•kernel.org,
"Geert Uytterhoeven" <geert+renesas@glider•be>,
linux-sh@vger•kernel.org,
"Catalin Marinas" <catalin.marinas@arm•com>,
"Linus Walleij" <linus.walleij@linaro•org>,
"David Hildenbrand" <david@redhat•com>, x86 <x86@kernel•org>,
linux-mips@vger•kernel.org,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership•com>,
"Hugh Dickins" <hughd@google•com>,
"Paul Mackerras" <paulus@samba•org>,
"H. Peter Anvin" <hpa@zytor•com>,
sparclinux@vger•kernel.org, "Will Deacon" <will@kernel•org>,
"Ard Biesheuvel" <ardb@kernel•org>,
linux-s390@vger•kernel.org,
"Vincent Guittot" <vincent.guittot@linaro•org>,
"Arnd Bergmann" <arnd@arndb•de>,
"Yoshinori Sato" <ysato@users•sourceforge.jp>,
"YiFei Zhu" <yifeifz2@illinois•edu>,
"Helge Deller" <deller@gmx•de>,
"Aubrey Li" <aubrey.li@linux•intel.com>,
"Barry Song" <21cnbao@gmail•com>,
"Russell King" <linux@armlinux•org.uk>,
"Christian Borntraeger" <borntraeger@de•ibm.com>,
"Ingo Molnar" <mingo@redhat•com>, "Mel Gorman" <mgorman@suse•de>,
"Masahiro Yamada" <masahiroy@kernel•org>,
"Frederic Weisbecker" <frederic@kernel•org>,
"Kees Cook" <keescook@chromium•org>,
"Vasily Gorbik" <gor@linux•ibm.com>,
"Anshuman Khandual" <anshuman.khandual@arm•com>,
"Vlastimil Babka" <vbabka@suse•cz>,
"Vipin Sharma" <vipinsh@google•com>,
"Heiko Carstens" <hca@linux•ibm.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix•de>,
"Steven Rostedt" <rostedt@goodmis•org>,
"Nathan Chancellor" <nathan@kernel•org>,
"Borislav Petkov" <bp@alien8•de>,
"Sergei Trofimovich" <slyfox@gentoo•org>,
"Jonathan Cameron" <jonathan.cameron@huawei•com>,
"Thomas Gleixner" <tglx@linutronix•de>,
"Michal Hocko" <mhocko@kernel•org>,
"Dietmar Eggemann" <dietmar.eggemann@arm•com>,
LAK <linux-arm-kernel@lists•infradead.org>,
"Barry Song" <song.bao.hua@hisilicon•com>,
"Ben Segall" <bsegall@google•com>,
"Thomas Bogendoerfer" <tsbogend@alpha•franken.de>,
"Daniel Borkmann" <daniel@iogearbox•net>,
linux-parisc@vger•kernel.org, "Chris Down" <chris@chrisdown•name>,
linuxppc-dev@lists•ozlabs.org,
"Randy Dunlap" <rdunlap@infradead•org>,
"Nick Desaulniers" <ndesaulniers@google•com>,
LKML <linux-kernel@vger•kernel.org>,
"Rasmus Villemoes" <linux@rasmusvillemoes•dk>,
"Daniel Bristot de Oliveira" <bristot@redhat•com>,
"Andrew Morton" <akpm@linux-foundation•org>,
"Tim Chen" <tim.c.chen@linux•intel.com>,
"David S. Miller" <davem@davemloft•net>,
"Mike Rapoport" <rppt@kernel•org>
Subject: Re: [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions
Date: Fri, 15 Oct 2021 15:04:50 +0200 [thread overview]
Message-ID: <YWl8cogsS2Lah1mk@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <87bl3zlex8.mognet@arm.com>
On Fri, Oct 08, 2021 at 04:22:27PM +0100, Valentin Schneider wrote:
> So x86 has it default yes, and a lot of others (e.g. arm64) have it default
> no.
>
> IMO you don't gain much by disabling them. SCHED_MC and SCHED_CLUSTER only
> control the presence of a sched_domain_topology_level - if it's useless it
> gets degenerated at domain build time. Some valid reasons for not using
> them is if the architecture defines its own topology table (e.g. powerpc
> has CACHE and MC levels which are not gated behind any CONFIG).
>
> SCHED_SMT has an impact on code generated in sched/core.c, but that is also
> gated by a static key.
>
> So I'd say having them default yes is sensible. I'd even say we should
> change the "If unsure say N here." to "Y".
Right, so I tend to agree (and also that we should fix that Kconfig help
text). But it would be very nice to have feedback from the affected arch
maintainers.
prev parent reply other threads:[~2021-10-15 23:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 11:53 [PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends Valentin Schneider
2021-10-08 11:53 ` [PATCH 1/2] sched: Move Kconfig.preempt to sched/Kconfig Valentin Schneider
2021-10-08 11:53 ` [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions Valentin Schneider
2021-10-08 12:37 ` Barry Song
2021-10-08 15:22 ` Valentin Schneider
2021-10-15 13:04 ` Peter Zijlstra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YWl8cogsS2Lah1mk@hirez.programming.kicks-ass.net \
--to=peterz@infradead$(echo .)org \
--cc=21cnbao@gmail$(echo .)com \
--cc=James.Bottomley@hansenpartnership$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=anshuman.khandual@arm$(echo .)com \
--cc=ardb@kernel$(echo .)org \
--cc=arnd@arndb$(echo .)de \
--cc=aubrey.li@linux$(echo .)intel.com \
--cc=borntraeger@de$(echo .)ibm.com \
--cc=bp@alien8$(echo .)de \
--cc=bristot@redhat$(echo .)com \
--cc=bsegall@google$(echo .)com \
--cc=catalin.marinas@arm$(echo .)com \
--cc=chris@chrisdown$(echo .)name \
--cc=dalias@libc$(echo .)org \
--cc=daniel@iogearbox$(echo .)net \
--cc=davem@davemloft$(echo .)net \
--cc=david@redhat$(echo .)com \
--cc=deller@gmx$(echo .)de \
--cc=dietmar.eggemann@arm$(echo .)com \
--cc=frederic@kernel$(echo .)org \
--cc=geert+renesas@glider$(echo .)be \
--cc=gor@linux$(echo .)ibm.com \
--cc=hca@linux$(echo .)ibm.com \
--cc=hpa@zytor$(echo .)com \
--cc=hughd@google$(echo .)com \
--cc=jonathan.cameron@huawei$(echo .)com \
--cc=juri.lelli@redhat$(echo .)com \
--cc=keescook@chromium$(echo .)org \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-ia64@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mips@vger$(echo .)kernel.org \
--cc=linux-parisc@vger$(echo .)kernel.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linux-sh@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=linux@rasmusvillemoes$(echo .)dk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mark.rutland@arm$(echo .)com \
--cc=masahiroy@kernel$(echo .)org \
--cc=mgorman@suse$(echo .)de \
--cc=mhocko@kernel$(echo .)org \
--cc=mingo@redhat$(echo .)com \
--cc=nathan@kernel$(echo .)org \
--cc=ndesaulniers@google$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=rdunlap@infradead$(echo .)org \
--cc=rostedt@goodmis$(echo .)org \
--cc=rppt@kernel$(echo .)org \
--cc=slyfox@gentoo$(echo .)org \
--cc=song.bao.hua@hisilicon$(echo .)com \
--cc=sparclinux@vger$(echo .)kernel.org \
--cc=tglx@linutronix$(echo .)de \
--cc=tim.c.chen@linux$(echo .)intel.com \
--cc=tsbogend@alpha$(echo .)franken.de \
--cc=u.kleine-koenig@pengutronix$(echo .)de \
--cc=valentin.schneider@arm$(echo .)com \
--cc=vbabka@suse$(echo .)cz \
--cc=vincent.guittot@linaro$(echo .)org \
--cc=vipinsh@google$(echo .)com \
--cc=wangkefeng.wang@huawei$(echo .)com \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
--cc=yifeifz2@illinois$(echo .)edu \
--cc=ysato@users$(echo .)sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox