Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables

From: Thomas Gleixner
Date: Thu Nov 02 2017 - 14:24:43 EST


On Thu, 2 Nov 2017, Andy Lutomirski wrote:

> > On Nov 2, 2017, at 5:38 PM, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> wrote:
> >
> >> On 11/02/2017 04:33 AM, Thomas Gleixner wrote:
> >> So for the problem at hand, I'd suggest we disable the vsyscall stuff if
> >> CONFIG_KAISER=y and be done with it.
> >
> > Just to be clear, are we suggesting to just disable
> > LEGACY_VSYSCALL_NATIVE if KAISER=y, and allow LEGACY_VSYSCALL_EMULATE?
> > Or, do we just force LEGACY_VSYSCALL_NONE=y?
>
> We'd have to force NONE, and Linus won't like it.

The much I hate it, I already accepted grudgingly that we have to keep it
alive in some way or the other.

Thanks,

tglx