lkml.org 
[lkml]   [2014]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[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(-)


\
 
 \ /
  Last update: 2014-04-02 20:01    [W:0.040 / U:2.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site