The Linux Kernel Mailing List
 help / color / mirror / Atom feed
  • [parent not found: <20260102142429.896101-5-griffoul@gmail.com>]
  • * Re: [PATCH v4 00/10] KVM: nVMX: Improve performance for unmanaged guest memory
           [not found] <20260102142429.896101-1-griffoul@gmail.com>
           [not found] ` <20260102142429.896101-2-griffoul@gmail.com>
           [not found] ` <20260102142429.896101-5-griffoul@gmail.com>
    @ 2026-05-11 23:56 ` Sean Christopherson
           [not found] ` <20260102142429.896101-9-griffoul@gmail.com>
      3 siblings, 0 replies; 4+ messages in thread
    From: Sean Christopherson @ 2026-05-11 23:56 UTC (permalink / raw)
      To: Fred Griffoul
      Cc: kvm, pbonzini, vkuznets, shuah, dwmw, linux-kselftest,
    	linux-kernel, Fred Griffoul
    
    On Fri, Jan 02, 2026, Fred Griffoul wrote:
    > First, the current approach is missing proper invalidation handling in
    > critical scenarios. Enlightened VMCS (eVMCS) pages can become stale when
    > memslots are modified, as there is no mechanism to invalidate the cached
    > mappings.
    
    This is a non-issue.  Modifying memslots while vCPUs are active will cause problems,
    period.  There is no magic on earth that will prevent that.
    
    > Similarly, APIC access and virtual APIC pages can be migrated
    > by the host, but without proper notification through mmu_notifier
    > callbacks, the mappings become invalid and can lead to incorrect
    > behavior.
    
    No, they can't, at least not for unmanaged memory.  For kernel-managed memory,
    KVM obtains a long-term pin, which prevents the host from migrating the page.
    
    ^ permalink raw reply	[flat|nested] 4+ messages in thread
  • [parent not found: <20260102142429.896101-9-griffoul@gmail.com>]

  • end of thread, other threads:[~2026-05-12  0:13 UTC | newest]
    
    Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20260102142429.896101-1-griffoul@gmail.com>
         [not found] ` <20260102142429.896101-2-griffoul@gmail.com>
    2026-05-11 23:08   ` [PATCH v4 01/10] KVM: nVMX: Implement cache for L1 MSR bitmap Sean Christopherson
         [not found] ` <20260102142429.896101-5-griffoul@gmail.com>
    2026-05-11 23:35   ` [PATCH v4 04/10] KVM: nVMX: Implement cache for L1 APIC pages Sean Christopherson
    2026-05-11 23:56 ` [PATCH v4 00/10] KVM: nVMX: Improve performance for unmanaged guest memory Sean Christopherson
         [not found] ` <20260102142429.896101-9-griffoul@gmail.com>
    2026-05-12  0:13   ` [PATCH v4 08/10] KVM: x86: Add nested context management Sean Christopherson
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox