summaryrefslogtreecommitdiff
path: root/arch/s390/boot
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-04-30 00:00:25 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-25 12:23:44 +0300
commit85165781c5d900d97052be1d2723f6929d56768d (patch)
tree53f6265abd41eeff11990edf884eb52fe8d68d7f /arch/s390/boot
parent58cd407ca4c6278cf9f9d09a2e663bf645b0c982 (diff)
downloadlinux-85165781c5d900d97052be1d2723f6929d56768d.tar.xz
KVM: Do not pin pages tracked by gfn=>pfn caches
Put the reference to any struct page mapped/tracked by a gfn=>pfn cache upon inserting the pfn into its associated cache, as opposed to putting the reference only when the cache is done using the pfn. In other words, don't pin pages while they're in the cache. One of the major roles of the gfn=>pfn cache is to play nicely with invalidation events, i.e. it exists in large part so that KVM doesn't rely on pinning pages. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220429210025.3293691-9-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390/boot')
0 files changed, 0 insertions, 0 deletions