From: Valentin Schneider <valentin.schneider@arm.com>
To: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org,
linux-sh@vger.kernel.org, sparclinux@vger.kernel.org
Cc: "Juri Lelli" <juri.lelli@redhat.com>,
"Mark Rutland" <mark.rutland@arm.com>,
"Kefeng Wang" <wangkefeng.wang@huawei.com>,
"Rich Felker" <dalias@libc.org>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"David Hildenbrand" <david@redhat.com>,
"Peter Zijlstra" <peterz@infradead.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Rasmus Villemoes" <linux@rasmusvillemoes.dk>,
x86@kernel.org, "Michal Hocko" <mhocko@kernel.org>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Paul Mackerras" <paulus@samba.org>,
"H. Peter Anvin" <hpa@zytor.com>, "Will Deacon" <will@kernel.org>,
"Ard Biesheuvel" <ardb@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@linux.intel.com, "Hugh Dickins" <hughd@google.com>,
"Russell King" <linux@armlinux.org.uk>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Ingo Molnar" <mingo@redhat.com>, "Mel Gorman" <mgorman@suse.de>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"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>,
"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@huawei.com,
"Thomas Gleixner" <tglx@linutronix.de>,
"Dietmar Eggemann" <dietmar.eggemann@arm.com>,
"Vlastimil Babka" <vbabka@suse.cz>,
song.bao.hua@hisilicon.com, "Ben Segall" <bsegall@google.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Daniel Borkmann" <daniel@iogearbox.net>,
"Chris Down" <chris@chrisdown.name>,
"Daniel Bristot de Oliveira" <bristot@redhat.com>,
"Randy Dunlap" <rdunlap@infradead.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
tim.c.chen@linux.intel.com,
"David S. Miller" <davem@davemloft.net>,
"Mike Rapoport" <rppt@kernel.org>
Subject: [PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends
Date: Fri, 8 Oct 2021 12:53:45 +0100 [thread overview]
Message-ID: <20211008115347.425234-1-valentin.schneider@arm.com> (raw)
Hi folks,
This stems from Barry introducing a new CONFIG_SCHED_CLUSTER which highlighted
the current state of similar Kconfigs isn't great:
http://lore.kernel.org/r/CAGsJ_4xZD0sG0Df666f0bvHOzuPMjnw0dN_mArER5k1pJ6LPLw@mail.gmail.com
The changes happen all in one big patch; the alternative would be to have one
patch per arch that adds the ARCH_SUPPORTS_SCHED_* selection, then a final patch
that adds the generic definitions and removes the arch ones (which I can do if
that's a preferred approach).
Briefly tested by setting ARCH=foo and playing around with menuconfig.
Based on top of Peter's queue:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git -b sched/next
Patches are also available at:
https://git.gitlab.arm.com/linux-arm/linux-vs.git -b mainline/sched/topo_kconfig_cleanup
Cheers,
Valentin
Valentin Schneider (2):
sched: Move Kconfig.preempt to sched/Kconfig
sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions
arch/arm/Kconfig | 18 ++--------
arch/arm64/Kconfig | 26 ++------------
arch/ia64/Kconfig | 9 +----
arch/mips/Kconfig | 10 +-----
arch/parisc/Kconfig | 9 +----
arch/powerpc/Kconfig | 9 +----
arch/s390/Kconfig | 8 ++---
arch/sh/Kconfig | 1 +
arch/sh/mm/Kconfig | 9 -----
arch/sparc/Kconfig | 20 ++---------
arch/x86/Kconfig | 26 ++------------
init/Kconfig | 2 +-
kernel/{Kconfig.preempt => sched/Kconfig} | 41 +++++++++++++++++++++++
13 files changed, 59 insertions(+), 129 deletions(-)
rename kernel/{Kconfig.preempt => sched/Kconfig} (79%)
--
2.25.1
next reply other threads:[~2021-10-09 5:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 11:53 Valentin Schneider [this message]
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
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=20211008115347.425234-1-valentin.schneider@arm.com \
--to=valentin.schneider@arm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=ardb@kernel.org \
--cc=arnd@arndb.de \
--cc=aubrey.li@linux.intel.com \
--cc=borntraeger@de.ibm.com \
--cc=bp@alien8.de \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=catalin.marinas@arm.com \
--cc=chris@chrisdown.name \
--cc=dalias@libc.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=david@redhat.com \
--cc=deller@gmx.de \
--cc=dietmar.eggemann@arm.com \
--cc=frederic@kernel.org \
--cc=geert+renesas@glider.be \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=hpa@zytor.com \
--cc=hughd@google.com \
--cc=jonathan.cameron@huawei.com \
--cc=juri.lelli@redhat.com \
--cc=keescook@chromium.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=linux@rasmusvillemoes.dk \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mark.rutland@arm.com \
--cc=masahiroy@kernel.org \
--cc=mgorman@suse.de \
--cc=mhocko@kernel.org \
--cc=mingo@redhat.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=rdunlap@infradead.org \
--cc=rostedt@goodmis.org \
--cc=rppt@kernel.org \
--cc=slyfox@gentoo.org \
--cc=song.bao.hua@hisilicon.com \
--cc=sparclinux@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tim.c.chen@linux.intel.com \
--cc=tsbogend@alpha.franken.de \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vbabka@suse.cz \
--cc=vincent.guittot@linaro.org \
--cc=vipinsh@google.com \
--cc=wangkefeng.wang@huawei.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
--cc=yifeifz2@illinois.edu \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).