Re: [patch 00/60] x86/kpti: Kernel Page Table Isolation (was KAISER)

From: Andy Lutomirski
Date: Tue Dec 05 2017 - 18:19:40 EST


On Tue, Dec 5, 2017 at 1:57 PM, Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
> On 12/05/2017 01:49 PM, Andy Lutomirski wrote:
>> Random thought for the future: KPTI will make it possible to avoid
>> global IPI broadcasts on kernel flushes as we discussed, incorrectly,
>> two years ago at LPC. This could be nice.
>
> I'm slow. How?
>


By introducing an (optional) atomic check for need-to-flush on
switches from user CR3 to kernel CR3.