Re: [PATCH 1/2] powerpc: Use seq_buf to avoid pr_cont() in __die()

2019-01-10 Thread Michael Ellerman
Christophe Leroy writes: > Le 08/01/2019 à 13:04, Michael Ellerman a écrit : >> Using pr_cont() risks having our output interleaved with other output >> from other CPUs. Instead use a seq_buf to construct the line and then >> print it as a whole. > > Why not simply doing a single printk() or

Re: [PATCH 1/2] powerpc: Use seq_buf to avoid pr_cont() in __die()

2019-01-08 Thread Christophe Leroy
Le 08/01/2019 à 13:04, Michael Ellerman a écrit : Using pr_cont() risks having our output interleaved with other output from other CPUs. Instead use a seq_buf to construct the line and then print it as a whole. Why not simply doing a single printk() or similar on the same model as X86 for

[PATCH 1/2] powerpc: Use seq_buf to avoid pr_cont() in __die()

2019-01-08 Thread Michael Ellerman
Using pr_cont() risks having our output interleaved with other output from other CPUs. Instead use a seq_buf to construct the line and then print it as a whole. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/traps.c | 23 --- 1 file changed, 16 insertions(+), 7