[RFC PATCH v12 10/33] KVM: Set the stage for handling only shared mappings in mmu_notifier events
Sean Christopherson
seanjc at google.com
Mon Sep 18 08:57:45 PDT 2023
On Mon, Sep 18, 2023, Binbin Wu wrote:
>
>
> On 9/14/2023 9:55 AM, Sean Christopherson wrote:
> > Add flags to "struct kvm_gfn_range" to let notifier events target only
> > shared and only private mappings, and write up the existing mmu_notifier
> > events to be shared-only (private memory is never associated with a
> > userspace virtual address, i.e. can't be reached via mmu_notifiers).
> >
> > Add two flags so that KVM can handle the three possibilities (shared,
> > private, and shared+private) without needing something like a tri-state
> > enum.
>
> How to understand the word "stage" in short log?
Sorry, it's an idiom[*] that essentially means "to prepare for". I'll rephrase
the shortlog to be more straightforward (I have a bad habit of using idioms).
[*] https://dictionary.cambridge.org/us/dictionary/english/set-the-stage-for
More information about the kvm-riscv
mailing list