[PATCH V2] cxl: Fix memory page not handled
    christophe lombard 
    clombard at linux.vnet.ibm.com
       
    Tue Sep 26 18:15:59 AEST 2017
    
    
  
Le 26/09/2017 à 03:44, Vaibhav Jain a écrit :
> Hi Christophe,
>
> A minor nitpick
>
> Christophe Lombard <clombard at linux.vnet.ibm.com> writes:
>
>> +	for (dar = (addr & ~(page_size - 1)); dar < (addr + size); dar += page_size) {
>> +		if (dar < vma->vm_start || dar > vma->vm_end) {
> Code comment in mm_types.h for vm_end says it "The first byte after our
> end address within vm_mm". So this condition should be
> (dar < vma->vm_start || dar >= vma->vm_end)
>
> ~ Vaibhav
You are right. Thanks for the review
    
    
More information about the Linuxppc-dev
mailing list