Skip to content

x86: Fix perf deadlock caused by dumpstack cleanup

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: Fix dumpstack_64 to keep state of "used" variable in looparch/x86/kernel/dumpstack_64.c+5 -50 replies
2/2x86: Fix dumpstack_64 irq stack handlingarch/x86/kernel/dumpstack_64.c+10 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86: Fix perf deadlock caused by dumpstack cleanup

Linus,

Here are two patches that fix the deadlock that you discovered.

The first patch is the real culprit, but as I was looking at the code I realized that the irq stack part was a bit off too. That part didn't cause the lock up, but needs to be fixed regardless.

Note, I'm hoping to use these clean ups to make x86_64 and i386 code a bit closer to each other, so I hope the original change does not get reverted.

-- Steve

Steven Rostedt (Red Hat) (2):
x86: Fix dumpstack_64 to keep state of "used" variable in loop
x86: Fix dumpstack_64 irq stack handling

----

 arch/x86/kernel/dumpstack_64.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)