On Thu, Feb 18, 2021, Mike Kravetz wrote:
> On 2/18/21 8:23 AM, Sean Christopherson wrote:
> > On Thu, Feb 18, 2021, Paolo Bonzini wrote:
> >> On 13/02/21 01:50, Sean Christopherson wrote:
> >>>
> >>> pfn = spte_to_pfn(iter.old_spte);
> >>> if (kvm_is_reserved_pfn(pfn) ||
> >>>
On 2/18/21 8:23 AM, Sean Christopherson wrote:
> On Thu, Feb 18, 2021, Paolo Bonzini wrote:
>> On 13/02/21 01:50, Sean Christopherson wrote:
>>>
>>> pfn = spte_to_pfn(iter.old_spte);
>>> if (kvm_is_reserved_pfn(pfn) ||
>>> - (!PageTransCompoundMap(pfn_to_page(p
On Thu, Feb 18, 2021, Paolo Bonzini wrote:
> On 13/02/21 01:50, Sean Christopherson wrote:
> >
> > pfn = spte_to_pfn(iter.old_spte);
> > if (kvm_is_reserved_pfn(pfn) ||
> > - (!PageTransCompoundMap(pfn_to_page(pfn)) &&
> > -!kvm_is_zone_device_
On 13/02/21 01:50, Sean Christopherson wrote:
pfn = spte_to_pfn(iter.old_spte);
if (kvm_is_reserved_pfn(pfn) ||
- (!PageTransCompoundMap(pfn_to_page(pfn)) &&
-!kvm_is_zone_device_pfn(pfn)))
+ iter.level >= kv
When zapping SPTEs in order to rebuild them as huge pages, use the new
helper that computes the max mapping level to detect whether or not a
SPTE should be zapped. Doing so avoids zapping SPTEs that can't
possibly be rebuilt as huge pages, e.g. due to hardware constraints,
memslot alignment, etc..
5 matches
Mail list logo