Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1408807

Re: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap

From "Hillf Danton" <hillf.zj@alibaba-inc.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap
Date 2016-05-30 09:10 +0200
Message-ID <rEpuO-YG-25@gated-at.bofh.it> (permalink)
References <rEpuO-YG-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> @@ -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;

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-05-30 09:10 +0200

csiph-web