All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends
@ 2021-10-08 11:53 ` Valentin Schneider
  0 siblings, 0 replies; 18+ messages in thread
From: Valentin Schneider @ 2021-10-08 11:53 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, linux-ia64, linux-mips,
	linux-parisc, linuxppc-dev, linux-s390, linux-sh, sparclinux
  Cc: Peter Zijlstra, aubrey.li, song.bao.hua, tim.c.chen,
	jonathan.cameron, Russell King, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, James E.J. Bottomley, Helge Deller,
	Michael Ellerman, Benjamin Herrenschmidt, Paul Mackerras,
	Heiko Carstens, Vasily Gorbik, Christian Borntraeger,
	Yoshinori Sato, Rich Felker, David S. Miller, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86, H. Peter Anvin, Juri Lelli,
	Vincent Guittot, Dietmar Eggemann, Steven Rostedt, Ben Segall,
	Mel Gorman, Daniel Bristot de Oliveira, Arnd Bergmann,
	Linus Walleij, Geert Uytterhoeven, Andrew Morton,
	Anshuman Khandual, Mike Rapoport, Mark Rutland, Ard Biesheuvel,
	YiFei Zhu, Uwe Kleine-König, Kefeng Wang,
	Sergei Trofimovich, David Hildenbrand, Randy Dunlap,
	Masahiro Yamada, Kees Cook, Nathan Chancellor, Nick Desaulniers,
	Chris Down, Vipin Sharma, Rasmus Villemoes, Daniel Borkmann,
	Vlastimil Babka, Frederic Weisbecker, Hugh Dickins, Michal Hocko

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-10-15 23:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 11:53 [PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends Valentin Schneider
2021-10-08 11:53 ` Valentin Schneider
2021-10-08 11:53 ` Valentin Schneider
2021-10-08 11:53 ` [PATCH 1/2] sched: Move Kconfig.preempt to sched/Kconfig Valentin Schneider
2021-10-08 11:53   ` Valentin Schneider
2021-10-08 11:53   ` Valentin Schneider
2021-10-08 11:53 ` [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions Valentin Schneider
2021-10-08 11:53   ` Valentin Schneider
2021-10-08 11:53   ` Valentin Schneider
2021-10-08 12:37   ` Barry Song
2021-10-08 12:37     ` Barry Song
2021-10-08 12:37     ` Barry Song
2021-10-08 15:22     ` Valentin Schneider
2021-10-08 15:22       ` Valentin Schneider
2021-10-08 15:22       ` Valentin Schneider
2021-10-15 13:04       ` Peter Zijlstra
2021-10-15 13:04         ` Peter Zijlstra
2021-10-15 13:04         ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.