Re: [PATCH] powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()

2021-06-26 Thread Michael Ellerman
On Sat, 26 Jun 2021 00:04:08 +1000, Michael Ellerman wrote: > In raise_backtrace_ipi() we iterate through the cpumask of CPUs, sending > each an IPI asking them to do a backtrace, but we don't wait for the > backtrace to happen. > > We then iterate through the CPU mask again, and if any CPU hasn't

[PATCH] powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()

2021-06-25 Thread Michael Ellerman
In raise_backtrace_ipi() we iterate through the cpumask of CPUs, sending each an IPI asking them to do a backtrace, but we don't wait for the backtrace to happen. We then iterate through the CPU mask again, and if any CPU hasn't done the backtrace and cleared itself from the mask, we print a trace