Re: [PATCH v2 13/17] x86/mm: Force LDT desc accessed bit

From: Andy Lutomirski
Date: Thu Dec 14 2017 - 11:22:06 EST


On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> In preparation to mapping the LDT RO, unconditionally set the accessed
> bit.

I like this patch, but only as part of a standalone series to harden
the kernel by making the LDT be RO so we can revert the series if
needed. I don't like it as a prerequisite to having a working kernel.