[lkml]   [2019]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] x86: avoid confusion over the new RESCTRL config prompt
"Resource Control" is a very broad term for this CPU feature, and a
term that is also associated with containers, cgroups etc. This can
easily cause confusion.

Make the user prompt more specific.

Signed-off-by: Johannes Weiner <>
arch/x86/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

As somebody who works in "resource control", this prompt in oldconfig
certainly had me go wtf. Can we do something more specific?

Not insisting on this name, and I haven't renamed all the config
symbols yet, but we should probably fix this before 5.0 is released.


diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 26387c7bf305..426677b759c0 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -447,11 +447,11 @@ config RETPOLINE
support for full protection. The kernel may run slower.

config X86_RESCTRL
- bool "Resource Control support"
+ bool "x86 cache control support"
depends on X86 && (CPU_SUP_INTEL || CPU_SUP_AMD)
select KERNFS
- Enable Resource Control support.
+ Enable x86 cache control support.

Provide support for the allocation and monitoring of system resources
usage by the CPU.
 \ /
  Last update: 2019-01-29 23:54    [W:0.115 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site