Re: [PATCH 00/23] KAISER: unmap most of the kernel from userspace page tables

From: Andy Lutomirski
Date: Wed Nov 01 2017 - 16:33:58 EST


On Wed, Nov 1, 2017 at 12:05 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Nov 1, 2017 at 11:46 AM, Dave Hansen
> <dave.hansen@xxxxxxxxxxxxxxx> wrote:
>>
>> The vmalloc()'d stacks definitely need the page table walk.
>
> Ugh, yes. Nasty.
>
> Andy at some point mentioned a per-cpu initial stack trampoline thing
> for his exception patches, but I'm not sure he actually ever did that.
>
> Andy?

I'm going to push it to kernel.org very shortly (like twenty minutes
maybe). Then the 0day bot can chew on it. With the proposed LDT
rework, we don't need to do any of dynamic mapping stuff, I think.

>
> Linus