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>