[lkml]   [2019]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC 00/10] Process-local memory allocations for hiding KVM secrets

> On Jun 12, 2019, at 12:55 PM, Dave Hansen <> wrote:
>> On 6/12/19 10:08 AM, Marius Hillenbrand wrote:
>> This patch series proposes to introduce a region for what we call
>> process-local memory into the kernel's virtual address space.
> It might be fun to cc some x86 folks on this series. They might have
> some relevant opinions. ;)
> A few high-level questions:
> Why go to all this trouble to hide guest state like registers if all the
> guest data itself is still mapped?
> Where's the context-switching code? Did I just miss it?
> We've discussed having per-cpu page tables where a given PGD is only in
> use from one CPU at a time. I *think* this scheme still works in such a
> case, it just adds one more PGD entry that would have to context-switched.

Fair warning: Linus is on record as absolutely hating this idea. He might change his mind, but it’s an uphill battle.
 \ /
  Last update: 2019-06-12 22:27    [W:0.106 / U:9.184 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site