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>
This commit is contained in:
Baruch Siach
2022-07-07 07:43:29 +03:00
committed by Masahiro Yamada
parent a6036a41bf
commit bdf0fe33a4

View File

@@ -1715,16 +1715,17 @@ config KALLSYMS_ALL
help help
Normally kallsyms only contains the symbols of functions for nicer Normally kallsyms only contains the symbols of functions for nicer
OOPS messages and backtraces (i.e., symbols from the text and inittext OOPS messages and backtraces (i.e., symbols from the text and inittext
sections). This is sufficient for most cases. And only in very rare sections). This is sufficient for most cases. And only if you want to
cases (e.g., when a debugger is used) all symbols are required (e.g., enable kernel live patching, or other less common use cases (e.g.,
names of variables from the data sections, etc). 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 This option makes sure that all symbols are loaded into the kernel
image (i.e., symbols from all sections) in cost of increased kernel image (i.e., symbols from all sections) in cost of increased kernel
size (depending on the kernel configuration, it may be 300KiB or size (depending on the kernel configuration, it may be 300KiB or
something like this). 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 config KALLSYMS_ABSOLUTE_PERCPU
bool bool