Re: [PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages

2024-10-25 Thread Paolo Bonzini
On Tue, Oct 22, 2024 at 2:25 AM Sean Christopherson wrote: > > Looks good to me, thanks and congratulations!! Should we merge it in > > kvm/next asap? > > That has my vote, though I'm obvious extremely biased :-) Your wish is my command... Merged. Paolo

Re: [PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages

2024-10-23 Thread Dmitry Osipenko
On 10/10/24 21:23, Sean Christopherson wrote: > TL;DR: Eliminate KVM's long-standing (and heinous) behavior of essentially > guessing which pfns are refcounted pages (see kvm_pfn_to_refcounted_page()). > > Getting there requires "fixing" arch code that isn't obviously broken. > Specifically, to ge

Re: [PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages

2024-10-21 Thread Sean Christopherson
On Thu, Oct 17, 2024, Paolo Bonzini wrote: > On Thu, Oct 10, 2024 at 8:24 PM Sean Christopherson wrote: > > v13: > > - Rebased onto v6.12-rc2 > > - Collect reviews. [Alex and others] > > - Fix a transient bug in arm64 and RISC-V where KVM would leak a page > >refcount. [Oliver] > > - Fix a

Re: [PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages

2024-10-17 Thread Paolo Bonzini
On Thu, Oct 10, 2024 at 8:24 PM Sean Christopherson wrote: > v13: > - Rebased onto v6.12-rc2 > - Collect reviews. [Alex and others] > - Fix a transient bug in arm64 and RISC-V where KVM would leak a page >refcount. [Oliver] > - Fix a dangling comment. [Alex] > - Drop kvm_lookup_pfn(), as

[PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages

2024-10-10 Thread Sean Christopherson
TL;DR: Eliminate KVM's long-standing (and heinous) behavior of essentially guessing which pfns are refcounted pages (see kvm_pfn_to_refcounted_page()). Getting there requires "fixing" arch code that isn't obviously broken. Specifically, to get rid of kvm_pfn_to_refcounted_page(), KVM needs to stop