Re: [RFC PATCH 1/4] mm/hugetlb: Simplify hugetlb unmap
From: Aneesh Kumar K.V
Date: Thu Jun 02 2016 - 04:21:55 EST
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> 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
Yes. I will send an updated version of the series. Patch 4 may need to go through
powerpc tree because of other dependent patches. I will continue to include
that in the series to show the arch related changes.