summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2022-07-07 07:43:29 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-07-27 21:17:59 +0900
commitbdf0fe33a4dc57e6397d90a4e024f7bbf89b1c08 (patch)
treed3db05f0ac9208c2101e95d8e4885fa73664471a /init
parenta6036a41bffba3d5007e377483b425d470ad8042 (diff)
downloadlinux-stable-bdf0fe33a4dc57e6397d90a4e024f7bbf89b1c08.tar.gz
linux-stable-bdf0fe33a4dc57e6397d90a4e024f7bbf89b1c08.tar.bz2
linux-stable-bdf0fe33a4dc57e6397d90a4e024f7bbf89b1c08.zip
init/Kconfig: update KALLSYMS_ALL help text
CONFIG_KALLSYMS_ALL is required for kernel live patching which is a common use case that is enabled in some major distros. Update the Kconfig help text to reflect that. While at it, s/e.g./i.e./ to match the text intention. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig9
1 files changed, 5 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 1b4d8acc3def..db5257bebc18 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1715,16 +1715,17 @@ config KALLSYMS_ALL
help
Normally kallsyms only contains the symbols of functions for nicer
OOPS messages and backtraces (i.e., symbols from the text and inittext
- sections). This is sufficient for most cases. And only in very rare
- cases (e.g., when a debugger is used) all symbols are required (e.g.,
- names of variables from the data sections, etc).
+ sections). This is sufficient for most cases. And only if you want to
+ enable kernel live patching, or other less common use cases (e.g.,
+ when a debugger is used) all symbols are required (i.e., names of
+ variables from the data sections, etc).
This option makes sure that all symbols are loaded into the kernel
image (i.e., symbols from all sections) in cost of increased kernel
size (depending on the kernel configuration, it may be 300KiB or
something like this).
- Say N unless you really need all symbols.
+ Say N unless you really need all symbols, or kernel live patching.
config KALLSYMS_ABSOLUTE_PERCPU
bool