* [PATCH] init/Kconfig: move more items into the EXPERT menu
@ 2023-12-08 4:58 Randy Dunlap
2023-12-08 14:34 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-12-08 4:58 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Andrew Morton, Mathieu Desnoyers, Peter Zijlstra,
Paul E. McKenney, Boqun Feng
KCMP, RSEQ, CACHESTAT_SYSCALL, and PC104 depend on EXPERT but not shown
in the EXPERT menu. Move some lines around so that they are displayed
in the EXPERT menu.
Drop one useless comment.
Change "enabled" to "enable" for DEBUG_RSEQ.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
---
init/Kconfig | 102 ++++++++++++++++++++++++-------------------------
1 file changed, 50 insertions(+), 52 deletions(-)
diff -- a/init/Kconfig b/init/Kconfig
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1688,6 +1688,56 @@ config MEMBARRIER
If unsure, say Y.
+config KCMP
+ bool "Enable kcmp() system call" if EXPERT
+ help
+ Enable the kernel resource comparison system call. It provides
+ user-space with the ability to compare two processes to see if they
+ share a common resource, such as a file descriptor or even virtual
+ memory space.
+
+ If unsure, say N.
+
+config RSEQ
+ bool "Enable rseq() system call" if EXPERT
+ default y
+ depends on HAVE_RSEQ
+ select MEMBARRIER
+ help
+ Enable the restartable sequences system call. It provides a
+ user-space cache for the current CPU number value, which
+ speeds up getting the current CPU number from user-space,
+ as well as an ABI to speed up user-space operations on
+ per-CPU data.
+
+ If unsure, say Y.
+
+config DEBUG_RSEQ
+ default n
+ bool "Enable debugging of rseq() system call" if EXPERT
+ depends on RSEQ && DEBUG_KERNEL
+ help
+ Enable extra debugging checks for the rseq system call.
+
+ If unsure, say N.
+
+config CACHESTAT_SYSCALL
+ bool "Enable cachestat() system call" if EXPERT
+ default y
+ help
+ Enable the cachestat system call, which queries the page cache
+ statistics of a file (number of cached pages, dirty pages,
+ pages marked for writeback, (recently) evicted pages).
+
+ If unsure say Y here.
+
+config PC104
+ bool "PC/104 support" if EXPERT
+ help
+ Expose PC/104 form factor device drivers and options available for
+ selection and configuration. Enable this option if your target
+ machine has a PC/104 bus.
+
config KALLSYMS
bool "Load all symbols for debugging/ksymoops" if EXPERT
default y
@@ -1752,57 +1802,12 @@ config KALLSYMS_BASE_RELATIVE
# end of the "standard kernel features (expert users)" menu
-# syscall, maps, verifier
-
config ARCH_HAS_MEMBARRIER_CALLBACKS
bool
config ARCH_HAS_MEMBARRIER_SYNC_CORE
bool
-config KCMP
- bool "Enable kcmp() system call" if EXPERT
- help
- Enable the kernel resource comparison system call. It provides
- user-space with the ability to compare two processes to see if they
- share a common resource, such as a file descriptor or even virtual
- memory space.
-
- If unsure, say N.
-
-config RSEQ
- bool "Enable rseq() system call" if EXPERT
- default y
- depends on HAVE_RSEQ
- select MEMBARRIER
- help
- Enable the restartable sequences system call. It provides a
- user-space cache for the current CPU number value, which
- speeds up getting the current CPU number from user-space,
- as well as an ABI to speed up user-space operations on
- per-CPU data.
-
- If unsure, say Y.
-
-config CACHESTAT_SYSCALL
- bool "Enable cachestat() system call" if EXPERT
- default y
- help
- Enable the cachestat system call, which queries the page cache
- statistics of a file (number of cached pages, dirty pages,
- pages marked for writeback, (recently) evicted pages).
-
- If unsure say Y here.
-
-config DEBUG_RSEQ
- default n
- bool "Enabled debugging of rseq() system call" if EXPERT
- depends on RSEQ && DEBUG_KERNEL
- help
- Enable extra debugging checks for the rseq system call.
-
- If unsure, say N.
-
config HAVE_PERF_EVENTS
bool
help
@@ -1817,13 +1822,6 @@ config PERF_USE_VMALLOC
help
See tools/perf/design.txt for details
-config PC104
- bool "PC/104 support" if EXPERT
- help
- Expose PC/104 form factor device drivers and options available for
- selection and configuration. Enable this option if your target
- machine has a PC/104 bus.
-
menu "Kernel Performance Events And Counters"
config PERF_EVENTS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] init/Kconfig: move more items into the EXPERT menu
2023-12-08 4:58 [PATCH] init/Kconfig: move more items into the EXPERT menu Randy Dunlap
@ 2023-12-08 14:34 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2023-12-08 14:34 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: Andrew Morton, Peter Zijlstra, Paul E. McKenney, Boqun Feng
On 2023-12-07 23:58, Randy Dunlap wrote:
> KCMP, RSEQ, CACHESTAT_SYSCALL, and PC104 depend on EXPERT but not shown
> in the EXPERT menu. Move some lines around so that they are displayed
> in the EXPERT menu.
>
> Drop one useless comment.
>
> Change "enabled" to "enable" for DEBUG_RSEQ.
Thanks!
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: "Paul E. McKenney" <paulmck@kernel.org>
> Cc: Boqun Feng <boqun.feng@gmail.com>
> ---
> init/Kconfig | 102 ++++++++++++++++++++++++-------------------------
> 1 file changed, 50 insertions(+), 52 deletions(-)
>
> diff -- a/init/Kconfig b/init/Kconfig
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -1688,6 +1688,56 @@ config MEMBARRIER
>
> If unsure, say Y.
>
> +config KCMP
> + bool "Enable kcmp() system call" if EXPERT
> + help
> + Enable the kernel resource comparison system call. It provides
> + user-space with the ability to compare two processes to see if they
> + share a common resource, such as a file descriptor or even virtual
> + memory space.
> +
> + If unsure, say N.
> +
> +config RSEQ
> + bool "Enable rseq() system call" if EXPERT
> + default y
> + depends on HAVE_RSEQ
> + select MEMBARRIER
> + help
> + Enable the restartable sequences system call. It provides a
> + user-space cache for the current CPU number value, which
> + speeds up getting the current CPU number from user-space,
> + as well as an ABI to speed up user-space operations on
> + per-CPU data.
> +
> + If unsure, say Y.
> +
> +config DEBUG_RSEQ
> + default n
> + bool "Enable debugging of rseq() system call" if EXPERT
> + depends on RSEQ && DEBUG_KERNEL
> + help
> + Enable extra debugging checks for the rseq system call.
> +
> + If unsure, say N.
> +
> +config CACHESTAT_SYSCALL
> + bool "Enable cachestat() system call" if EXPERT
> + default y
> + help
> + Enable the cachestat system call, which queries the page cache
> + statistics of a file (number of cached pages, dirty pages,
> + pages marked for writeback, (recently) evicted pages).
> +
> + If unsure say Y here.
> +
> +config PC104
> + bool "PC/104 support" if EXPERT
> + help
> + Expose PC/104 form factor device drivers and options available for
> + selection and configuration. Enable this option if your target
> + machine has a PC/104 bus.
> +
> config KALLSYMS
> bool "Load all symbols for debugging/ksymoops" if EXPERT
> default y
> @@ -1752,57 +1802,12 @@ config KALLSYMS_BASE_RELATIVE
>
> # end of the "standard kernel features (expert users)" menu
>
> -# syscall, maps, verifier
> -
> config ARCH_HAS_MEMBARRIER_CALLBACKS
> bool
>
> config ARCH_HAS_MEMBARRIER_SYNC_CORE
> bool
>
> -config KCMP
> - bool "Enable kcmp() system call" if EXPERT
> - help
> - Enable the kernel resource comparison system call. It provides
> - user-space with the ability to compare two processes to see if they
> - share a common resource, such as a file descriptor or even virtual
> - memory space.
> -
> - If unsure, say N.
> -
> -config RSEQ
> - bool "Enable rseq() system call" if EXPERT
> - default y
> - depends on HAVE_RSEQ
> - select MEMBARRIER
> - help
> - Enable the restartable sequences system call. It provides a
> - user-space cache for the current CPU number value, which
> - speeds up getting the current CPU number from user-space,
> - as well as an ABI to speed up user-space operations on
> - per-CPU data.
> -
> - If unsure, say Y.
> -
> -config CACHESTAT_SYSCALL
> - bool "Enable cachestat() system call" if EXPERT
> - default y
> - help
> - Enable the cachestat system call, which queries the page cache
> - statistics of a file (number of cached pages, dirty pages,
> - pages marked for writeback, (recently) evicted pages).
> -
> - If unsure say Y here.
> -
> -config DEBUG_RSEQ
> - default n
> - bool "Enabled debugging of rseq() system call" if EXPERT
> - depends on RSEQ && DEBUG_KERNEL
> - help
> - Enable extra debugging checks for the rseq system call.
> -
> - If unsure, say N.
> -
> config HAVE_PERF_EVENTS
> bool
> help
> @@ -1817,13 +1822,6 @@ config PERF_USE_VMALLOC
> help
> See tools/perf/design.txt for details
>
> -config PC104
> - bool "PC/104 support" if EXPERT
> - help
> - Expose PC/104 form factor device drivers and options available for
> - selection and configuration. Enable this option if your target
> - machine has a PC/104 bus.
> -
> menu "Kernel Performance Events And Counters"
>
> config PERF_EVENTS
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-08 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-08 4:58 [PATCH] init/Kconfig: move more items into the EXPERT menu Randy Dunlap
2023-12-08 14:34 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®