Re: [PATCH] mremap: Avoid TLB flushing anonymous pages that are not in swap cache

From: Mel Gorman
Date: Tue Jun 05 2018 - 16:01:05 EST


On Tue, Jun 05, 2018 at 12:54:27PM -0700, Dave Hansen wrote:
> On 06/05/2018 12:51 PM, Mel Gorman wrote:
> > Using another testcase that simply calls mremap heavily with varying number
> > of threads, it was found that very broadly speaking that TLB shootdowns
> > were reduced by 31% on average throughout the entire test case but your
> > milage will vary.
>
> Looks good to me. Feel free to add my Reviewed-by.

Thanks, I'll send a proper v2 when I hear back from the customer on what
the impact on the real workload is.

--
Mel Gorman
SUSE Labs