From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752006AbdHBNAq (ORCPT ); Wed, 2 Aug 2017 09:00:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:57037 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751788AbdHBNAp (ORCPT ); Wed, 2 Aug 2017 09:00:45 -0400 Date: Wed, 2 Aug 2017 14:00:40 +0100 From: Mel Gorman To: Peter Zijlstra Cc: torvalds@linux-foundation.org, will.deacon@arm.com, oleg@redhat.com, paulmck@linux.vnet.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, npiggin@gmail.com, linux-kernel@vger.kernel.org, mingo@kernel.org, stern@rowland.harvard.edu, Russell King , Heiko Carstens , Ralf Baechle , Vineet Gupta , "David S. Miller" , Rik van Riel Subject: Re: [PATCH -v2 1/4] mm: Rework {set,clear,mm}_tlb_flush_pending() Message-ID: <20170802130040.kpvxlkhwrygqlaac@suse.de> References: <20170802113837.280183420@infradead.org> <20170802114030.020058451@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20170802114030.020058451@infradead.org> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Mel Gorman SUSE Labs