lkml.org 
[lkml]   [2016]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap
Date
> @@ -3157,19 +3156,22 @@ void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
> tlb_start_vma(tlb, vma);
> mmu_notifier_invalidate_range_start(mm, mmun_start, mmun_end);
> address = start;
> -again:
> for (; address < end; address += sz) {

With the again label cut off, you can also make a change in the for line.

thanks
Hillf
> ptep = huge_pte_offset(mm, address);
> if (!ptep)
> continue;


\
 
 \ /
  Last update: 2016-05-30 09:21    [W:0.088 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site