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

From: Thomas Gleixner
Date: Wed Nov 01 2017 - 10:09:20 EST


On Wed, 1 Nov 2017, Ingo Molnar wrote:
> Beyond the inevitable cavalcade of (solvable) problems that will pop up during
> review, one major item I'd like to see addressed is runtime configurability: it
> should be possible to switch between a CR3-flushing and a regular syscall and page
> table model on the admin level, without restarting the kernel and apps. Distros
> really, really don't want to double the number of kernel variants they have.

And this removes the !PARAVIRT dependency as well because when the kernel
detects xen_pv() then it simply disables kaiser and all works.

Thanks,

tglx