Re: [RFC PATCH] x86/debug: Dump more detailed segfault info

From: Ingo Molnar
Date: Tue Nov 15 2016 - 05:19:15 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Tue, Nov 15, 2016 at 07:14:47AM +0100, Ingo Molnar wrote:
> > So I think the line breaking artifact might be due to the following commit:
> >
> > bfd8d3f23b51 ("printk: make reading the kernel log flush pending lines")
> >
> > ... which Linus reverted upstream a few hours ago:
>
> Probably. I guess this doesn't happen when running my guest here because
> I have the segfault logging change ontop of -rc4.

Well, bfd8d3f23b51 was part of -rc1 already, so you have it too.

What might have made the difference is that I tested it on real hardware with
serial logging, which delays printk() and might have created the race with the
systemd kernel logger. (Which is impossible to turn off :-( )

Thanks,

Ingo