Re: [RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-11-03 Thread David Rientjes
On Fri, 31 Oct 2014, Hillf Danton wrote: > First, after flushing TLB, we have no need to scan pte from start again. > Second, before bail out loop, the address is forwarded one step. > > Signed-off-by: Hillf Danton Acked-by: David Rientjes -- To unsubscribe from this list: send the line

Re: [RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-11-03 Thread David Rientjes
On Fri, 31 Oct 2014, Hillf Danton wrote: First, after flushing TLB, we have no need to scan pte from start again. Second, before bail out loop, the address is forwarded one step. Signed-off-by: Hillf Danton hillf...@alibaba-inc.com Acked-by: David Rientjes rient...@google.com -- To

Re: [RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-10-31 Thread Michal Hocko
[CCing people involved in 24669e58477e2] On Fri 31-10-14 12:22:12, Hillf Danton wrote: > First, after flushing TLB, we have no need to scan pte from start again. > Second, before bail out loop, the address is forwarded one step. I can imagine a more comprehensive wording here. It is not

Re: [RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-10-31 Thread Michal Hocko
[CCing people involved in 24669e58477e2] On Fri 31-10-14 12:22:12, Hillf Danton wrote: First, after flushing TLB, we have no need to scan pte from start again. Second, before bail out loop, the address is forwarded one step. I can imagine a more comprehensive wording here. It is not

[RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-10-30 Thread Hillf Danton
First, after flushing TLB, we have no need to scan pte from start again. Second, before bail out loop, the address is forwarded one step. Signed-off-by: Hillf Danton --- --- a/mm/hugetlb.c Fri Oct 31 11:47:25 2014 +++ b/mm/hugetlb.c Fri Oct 31 11:52:42 2014 @@ -2641,8 +2641,9 @@ void

[RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-10-30 Thread Hillf Danton
First, after flushing TLB, we have no need to scan pte from start again. Second, before bail out loop, the address is forwarded one step. Signed-off-by: Hillf Danton hillf...@alibaba-inc.com --- --- a/mm/hugetlb.c Fri Oct 31 11:47:25 2014 +++ b/mm/hugetlb.c Fri Oct 31 11:52:42 2014 @@