All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] init/Kconfig: update KALLSYMS_ALL help text
@ 2022-07-07  4:43 Baruch Siach
  2022-07-11  5:00 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2022-07-07  4:43 UTC (permalink / raw)
  To: Masahiro Yamada, Michal Marek, Nick Desaulniers
  Cc: linux-kbuild, linux-kernel, live-patching, Baruch Siach

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>
---
 init/Kconfig | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index c7900e8975f1..20ef72dd6f44 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1722,16 +1722,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
-- 
2.35.1


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

* Re: [PATCH] init/Kconfig: update KALLSYMS_ALL help text
  2022-07-07  4:43 [PATCH] init/Kconfig: update KALLSYMS_ALL help text Baruch Siach
@ 2022-07-11  5:00 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2022-07-11  5:00 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Michal Marek, Nick Desaulniers, Linux Kbuild mailing list,
	Linux Kernel Mailing List, live-patching

On Thu, Jul 7, 2022 at 1:45 PM Baruch Siach <baruch@tkos.co.il> wrote:
>
> 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>
> ---


Applied to linux-kbuild.
Thanks.


>  init/Kconfig | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index c7900e8975f1..20ef72dd6f44 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -1722,16 +1722,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
> --
> 2.35.1
>


-- 
Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2022-07-11  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07  4:43 [PATCH] init/Kconfig: update KALLSYMS_ALL help text Baruch Siach
2022-07-11  5:00 ` Masahiro Yamada

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.