lkml.org 
[lkml]   [2022]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [RFC 09/14] KVM: x86/MMU: Only make pages available on Shadow MMU fault
    On Wed, Dec 21, 2022 at 2:24 PM Ben Gardon <bgardon@google.com> wrote:
    >
    > Now that the Shadow MMU has been factored out of mmu.c and the naming
    > sheme has been cleaned up, it's clear that there's an unnecessary
    > operation in direct_page_fault(). Since the MMU page quota is only
    > applied to the Shadow MMU, there's no point to calling
    > kvm_shadow_mmu_make_pages_available on a fault where the TDP MMU is
    > going to handle installing new TDP PTEs.

    Jinx! An equivalent change recently went into kvm/queue:

    https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?h=queue&id=1290f90e77186bf8a06a3a35ebf254f5b004676b

    \
     
     \ /
      Last update: 2023-03-26 23:23    [W:7.863 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site