Re: [patch 11/16] x86/ldt: Force access bit for CS/SS

From: Peter Zijlstra
Date: Tue Dec 12 2017 - 14:04:52 EST


On Tue, Dec 12, 2017 at 07:41:39PM +0100, Thomas Gleixner wrote:
> The pages are populated _before_ the new ldt is installed. So no memory
> pressure issue, nothing. If the populate fails, then modify_ldt() returns
> with an error.

Also, these pages are not visible to reclaim. They're not pagecache and
we didn't install a shrinker.