Re: [RFC][PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry

From: Juergen Gross
Date: Fri Mar 22 2019 - 01:54:45 EST


On 21/03/2019 19:18, Linus Torvalds wrote:
> On Thu, Mar 21, 2019 at 11:05 AM Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>>
>> In the long run, I think the right solution is to rewrite even more of
>> this mess in C. We really ought to be able to put the IRQ flag
>> tracing and the context tracking into C code.
>
> Tangentially about this long run thing - can we start discussing just
> dropping PV mode entirely in the long run? Or even not-so-long run?

As Andrew already said: the work is ongoing, but hard.

What I'm planning to do, however, is dropping 32-bit PV code from the
kernel not too far in the future. This is only a small step, but it is
a move in the right direction.


Juergen