Re: [PATCH -v2 1/4] mm: Rework {set,clear,mm}_tlb_flush_pending()

From: Peter Zijlstra
Date: Wed Aug 02 2017 - 10:17:04 EST


On Wed, Aug 02, 2017 at 02:52:03PM +0100, Mel Gorman wrote:
> On Wed, Aug 02, 2017 at 03:05:50PM +0200, Peter Zijlstra wrote:
> > On Wed, Aug 02, 2017 at 02:00:40PM +0100, Mel Gorman wrote:
> > > On Wed, Aug 02, 2017 at 01:38:38PM +0200, Peter Zijlstra wrote:
> > > > For this to work we need to rework migrate_misplaced_transhuge_page()
> > > > a little and move the test up into do_huge_pmd_numa_page().
> > > >
> > >
> > > Note that Nadav has a patch in parallel on it's way towards Andrew's
> > > tree that I suggested to always always check if a TLB flush is pending
> > > under the PTL. A conflict will happen but will be trivial to resolve.
> >
> > Got a link?
>
> Subject: Revert "mm: numa: defer TLB flush for THP migration as long as possible"
>
> http://lkml.kernel.org/r/20170731164325.235019-4-namit@xxxxxxxxxx
>

Thanks, yes that should be easy to resolve.