lkml.org 
[lkml]   [2016]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed
From
Date


On 04/07/2016 10:21, Xiao Guangrong wrote:
>>
>> /*
>> * In case the VMA has VM_MIXEDMAP set, whoever called
>> remap_pfn_range
>> * is also going to call e.g. unmap_mapping_range before the
>> underlying
>> * non-reserved pages are freed, which will then call our MMU
>> notifier.
>> * We still have to get a reference here to the page, because the
>> callers
>> * of *hva_to_pfn* and *gfn_to_pfn* ultimately end up doing a
>> * kvm_release_pfn_clean on the returned pfn. If the pfn is
>> * reserved, the kvm_get_pfn/kvm_release_pfn_clean pair will simply
>> * do nothing.
>> */
>>
>
> Excellent. I like it. :)

So is it Reviewed-by Guangrong? :)

Paolo

\
 
 \ /
  Last update: 2016-07-04 11:21    [W:0.055 / U:5.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site