[PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx
- Subject: [PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends
- From: Valentin Schneider <valentin.schneider@xxxxxxx>
- Date: Fri, 8 Oct 2021 12:53:45 +0100
- Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>, aubrey.li@xxxxxxxxxxxxxxx, song.bao.hua@xxxxxxxxxxxxx, tim.c.chen@xxxxxxxxxxxxxxx, jonathan.cameron@xxxxxxxxxx, Russell King <linux@xxxxxxxxxxxxxxx>, Catalin Marinas <catalin.marinas@xxxxxxx>, Will Deacon <will@xxxxxxxxxx>, Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>, "James E.J. Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>, Helge Deller <deller@xxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Heiko Carstens <hca@xxxxxxxxxxxxx>, Vasily Gorbik <gor@xxxxxxxxxxxxx>, Christian Borntraeger <borntraeger@xxxxxxxxxx>, Yoshinori Sato <ysato@xxxxxxxxxxxxx>, Rich Felker <dalias@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Juri Lelli <juri.lelli@xxxxxxxxxx>, Vincent Guittot <vincent.guittot@xxxxxxxxxx>, Dietmar Eggemann <dietmar.eggemann@xxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Ben Segall <bsegall@xxxxxxxxxx>, Mel Gorman <mgorman@xxxxxxx>, Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Linus Walleij <linus.walleij@xxxxxxxxxx>, Geert Uytterhoeven <geert+renesas@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Anshuman Khandual <anshuman.khandual@xxxxxxx>, Mike Rapoport <rppt@xxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, YiFei Zhu <yifeifz2@xxxxxxxxxxxx>, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>, Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>, Sergei Trofimovich <slyfox@xxxxxxxxxx>, David Hildenbrand <david@xxxxxxxxxx>, Randy Dunlap <rdunlap@xxxxxxxxxxxxx>, Masahiro Yamada <masahiroy@xxxxxxxxxx>, Kees Cook <keescook@xxxxxxxxxxxx>, Nathan Chancellor <nathan@xxxxxxxxxx>, Nick Desaulniers <ndesaulniers@xxxxxxxxxx>, Chris Down <chris@xxxxxxxxxxxxxx>, Vipin Sharma <vipinsh@xxxxxxxxxx>, Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>, Daniel Borkmann <daniel@xxxxxxxxxxxxx>, Vlastimil Babka <vbabka@xxxxxxx>, Frederic Weisbecker <frederic@xxxxxxxxxx>, Hugh Dickins <hughd@xxxxxxxxxx>, Michal Hocko <mhocko@xxxxxxxxxx>
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@xxxxxxxxxxxxxx
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
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]