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

From: Andrew Morton
Date: Wed Jun 01 2016 - 18:34:48 EST

On Mon, 30 May 2016 11:14:19 +0530 "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx> wrote:

> 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.

This all looks fairly non-horrifying. Will a non-RFC version be