Skip to contentSkip to conversation

x86/stacktrace: update kconfig help text for reliable unwinders

PATCH In review Joe Lawrence 5 participants 5 messages Nov 7, 2019

Subsystems (2)
lore
Share & tools
lore

Joe Lawrence

author maintainer
#0 lore raw

PATCH v2 1/1 x86/stacktrace: update kconfig help text for reliable unwinders

commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") added the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that can provide HAVE_RELIABLE_STACKTRACE.

---

v2: dropped hunk that added unnecessary text to UNWIND_GUESS

 arch/x86/Kconfig.debug | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig.debug +0 -4
index bf9cd83de777..409c00f74e60 100644
@@ -316,10 +316,6 @@ config UNWINDER_FRAME_POINTER
 	  unwinder, but the kernel text size will grow by ~3% and the kernel's
 	  overall performance will degrade by roughly 5-10%.
 
-	  This option is recommended if you want to use the livepatch
-	  consistency model, as this is currently the only way to get a
-	  reliable stack trace (CONFIG_HAVE_RELIABLE_STACKTRACE).
-
 config UNWINDER_GUESS
 	bool "Guess unwinder"
 	depends on EXPERT
Signature · 1 line
2.21.0
Acked-by on v2 1/1
#1 lore raw
Quoted 31 lines · Joe Lawrence

commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") added the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that can provide HAVE_RELIABLE_STACKTRACE.

---

v2: dropped hunk that added unnecessary text to UNWIND_GUESS

 arch/x86/Kconfig.debug | 4 ----
 1 file changed, 4 deletions(-)
arch/x86/Kconfig.debug +0 -4
index bf9cd83de777..409c00f74e60 100644
@@ -316,10 +316,6 @@ config UNWINDER_FRAME_POINTER
 	  unwinder, but the kernel text size will grow by ~3% and the kernel's
 	  overall performance will degrade by roughly 5-10%.
 
-	  This option is recommended if you want to use the livepatch
-	  consistency model, as this is currently the only way to get a
-	  reliable stack trace (CONFIG_HAVE_RELIABLE_STACKTRACE).
-
 config UNWINDER_GUESS
 	bool "Guess unwinder"
 	depends on EXPERT
Signature · 1 line
2.21.0
Signature · 1 line
Josh
maintainer
#2 lore raw
Quoted 9 lines · Josh Poimboeuf
Quoted 6 lines · Joe Lawrence

commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") added the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that can provide HAVE_RELIABLE_STACKTRACE.

It is committed in livepatch.git, branch for-5.5/core.

Best Regards,
Petr

maintainer Acked-by on v2 1/1
#3 lore raw
In reply to Joe Lawrence
Quoted 6 lines · Joe Lawrence

commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") added the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that can provide HAVE_RELIABLE_STACKTRACE.

M

Reviewed-by on v2 1/1
#4 lore raw
In reply to Joe Lawrence
Quoted 6 lines · Joe Lawrence

commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") added the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that can provide HAVE_RELIABLE_STACKTRACE.

Signature · 1 line
Kamalesh