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

From: Andy Lutomirski
Date: Thu Nov 02 2017 - 14:20:01 EST




> 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.