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


Groups > linux.kernel > #1408807 > unrolled thread

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

Started by"Hillf Danton" <hillf.zj@alibaba-inc.com>
First post2016-05-30 09:10 +0200
Last post2016-05-30 09:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

From"Hillf Danton" <hillf.zj@alibaba-inc.com>
Date2016-05-30 09:10 +0200
SubjectRe: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap
Message-ID<rEpuO-YG-25@gated-at.bofh.it>
> @@ -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;

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web