Re: [patch 13/16] x86/ldt: Introduce LDT write fault handler
From: Dave Hansen
Date: Tue Dec 12 2017 - 15:21:14 EST
On 12/12/2017 11:21 AM, Thomas Gleixner wrote:
> The only critical interaction is the return to user path (user CS/SS) and
> we made sure with the LAR touching that these are precached in the CPU
> before we go into fragile exit code.
How do we make sure that it _stays_ cached?
Surely there is weird stuff like WBINVD or SMI's that can come at very
inconvenient times and wipe it out of the cache.