Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 17 Jun 2019 11:49:53 -0700
From: Dave Hansen <>
To: Konrad Rzeszutek Wilk <>
Cc: Nadav Amit <>, Andy Lutomirski <>,
 Alexander Graf <>, Thomas Gleixner <>,
 Marius Hillenbrand <>, kvm list <>,
 LKML <>,
 Kernel Hardening <>,
 Linux-MM <>, Alexander Graf <>,
 David Woodhouse <>,
 the arch/x86 maintainers <>,
 Peter Zijlstra <>
Subject: Re: [RFC 00/10] Process-local memory allocations for hiding KVM

On 6/17/19 11:45 AM, Konrad Rzeszutek Wilk wrote:
>> The idea is that you have a per-cpu address space.  Certain kernel
>> virtual addresses would map to different physical address based on where
>> you are running.  Each of the physical addresses would be "owned" by a
>> single CPU and would, by convention, never use a PGD that mapped an
>> address unless that CPU that "owned" it.
>> In that case, you never really invalidate those addresses.
> But you would need to invalidate if the process moved to another CPU, correct?

If you have a per-cpu PGD, the rule is that you never use the PGD on
more than one CPU.  In that model, processes "take over" an existing PGD
to run on the CPU rather than having the CPU use an existing PGD that
came with the process.

But we've really hijacked the original thread at this point, which is
probably causing a ton of confusion.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.