Re: [PATCH] mm/mempolicy: Move VMA address bound checks inside mpol_misplaced()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/01/2017 05:47 PM, Anshuman Khandual wrote:
> On 09/01/2017 02:35 PM, Vlastimil Babka wrote:
>> On 09/01/2017 09:02 AM, Anshuman Khandual wrote:
>>> The VMA address bound checks are applicable to all memory policy modes,
>>> not just MPOL_INTERLEAVE.
>>
>> But only MPOL_INTERLEAVE actually uses addr and vma->vm_start.
> 
> I thought them to be just general sanity checks.
> 
>>
>>> Hence move it to the front and make it common.
>>>
>>> Signed-off-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>
>>
>> I would just remove them instead. Together with the BUG_ON(!vma). Looks
>> like just leftover from development.
> 
> sure, resend with suggested changes.

I meant, I will resend the patch with suggested changes.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux