Re: [PATCH v2 1/3] mm/hugetlb: Simplify hugetlb unmap

2016-06-03 Thread Aneesh Kumar K.V
Hi Andrew, The updated version includes a build fix for [PATCH 2/3. I also dropped the powerpc related changes from the series because that have dependencies against other patches not yet merged upstream. I am adding the same below for reference. >From 1f0975adfd3138f3709b2dec8771065ddc38de40

Re: [PATCH v2 1/3] mm/hugetlb: Simplify hugetlb unmap

2016-06-03 Thread Aneesh Kumar K.V
Hi Andrew, The updated version includes a build fix for [PATCH 2/3. I also dropped the powerpc related changes from the series because that have dependencies against other patches not yet merged upstream. I am adding the same below for reference. >From 1f0975adfd3138f3709b2dec8771065ddc38de40

[PATCH v2 1/3] mm/hugetlb: Simplify hugetlb unmap

2016-06-03 Thread Aneesh Kumar K.V
For hugetlb like THP (and unlike regular page), we do tlb flush after dropping ptl. Because of the above, we don't need to track force_flush like we do now. Instead we can simply call tlb_remove_page() which will do the flush if needed. No functionality change in this patch. Signed-off-by:

[PATCH v2 1/3] mm/hugetlb: Simplify hugetlb unmap

2016-06-03 Thread Aneesh Kumar K.V
For hugetlb like THP (and unlike regular page), we do tlb flush after dropping ptl. Because of the above, we don't need to track force_flush like we do now. Instead we can simply call tlb_remove_page() which will do the flush if needed. No functionality change in this patch. Signed-off-by: