Re: [PATCH] powerpc/stacktrace: fix raise_backtrace_ipi() logic

From
Michael Ellerman <mpe@ellerman.id.au>
Date
2021-06-03 05:34:53
Reply to
Nathan Lynch, 2021-06-02
Nathan Lynch [off-list ref] writes:
Hi Michael,

Michael Ellerman [off-list ref] writes:
quoted
Nathan Lynch [off-list ref] writes:
quoted
When smp_send_safe_nmi_ipi() indicates that the target CPU has
responded to the IPI, skip the remote paca inspection
fallback. Otherwise both the sending and target CPUs attempt the
backtrace, usually creating a misleading ("didn't respond to backtrace
IPI" is wrong) and interleaved mess:
Thanks for fixing my bugs for me :)
Thanks for your review! I was beginning to think I had missed some
subtletly here, thanks for illustrating it.

I'll run with your proposed change below for the problem I'm working.
Thanks. I did test it a bit with the test_lockup module, but some real
world testing would be good too.

cheers
Thread (5 messages) 5 messages, 2 authors, last reply 2021-06-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help