From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id DEC196B0581 for ; Tue, 1 Aug 2017 20:53:49 -0400 (EDT) Received: by mail-pg0-f70.google.com with SMTP id t80so35104142pgb.0 for ; Tue, 01 Aug 2017 17:53:49 -0700 (PDT) Received: from lgeamrelo12.lge.com (LGEAMRELO12.lge.com. [156.147.23.52]) by mx.google.com with ESMTP id t72si14239504pgc.156.2017.08.01.17.53.47 for ; Tue, 01 Aug 2017 17:53:48 -0700 (PDT) Date: Wed, 2 Aug 2017 09:53:46 +0900 From: Minchan Kim Subject: Re: [PATCH v2 1/4] mm: refactoring TLB gathering API Message-ID: <20170802005346.GA6388@bbox> References: <1501566977-20293-1-git-send-email-minchan@kernel.org> <1501566977-20293-2-git-send-email-minchan@kernel.org> <20170801103032.h7tnxryoxx7k7aqg@techsingularity.net> <59138710-3EFB-4D59-BD5B-D97CAFEBF098@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <59138710-3EFB-4D59-BD5B-D97CAFEBF098@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Nadav Amit Cc: Andrew Morton , LKML , "open list:MEMORY MANAGEMENT" , kernel-team , Ingo Molnar , Russell King , Tony Luck , Martin Schwidefsky , "David S. Miller" , Heiko Carstens , Yoshinori Sato , Jeff Dike , linux-arch@vger.kernel.org, Mel Gorman Hi Nadav, On Tue, Aug 01, 2017 at 05:46:14PM -0700, Nadav Amit wrote: > Mel Gorman wrote: > > > On Tue, Aug 01, 2017 at 02:56:14PM +0900, Minchan Kim wrote: > >> This patch is ready for solving race problems caused by TLB batch. > > > > s/is ready/is a preparatory patch/ > > > >> For that, we will increase/decrease TLB flush pending count of > >> mm_struct whenever tlb_[gather|finish]_mmu is called. > >> > >> Before making it simple, this patch separates architecture specific > >> part and rename it to arch_tlb_[gather|finish]_mmu and generic part > >> just calls it. > >> > >> It shouldn't change any behavior. > >> > >> Cc: Ingo Molnar > >> Cc: Russell King > >> Cc: Tony Luck > >> Cc: Martin Schwidefsky > >> Cc: "David S. Miller" > >> Cc: Heiko Carstens > >> Cc: Yoshinori Sato > >> Cc: Jeff Dike > >> Cc: linux-arch@vger.kernel.org > >> Cc: Nadav Amit > >> Cc: Mel Gorman > >> Signed-off-by: Minchan Kim > > > > You could alias arch_generic_tlb_finish_mmu as arch_tlb_gather_mmu > > simiilar to how other arch-generic helpers are done to avoid some > > #ifdeffery but otherwise > > Minchan, > > Andrew wishes me to send one series that combines both series. What about > this comment from Mel? It seems you intentionally did not want to alias > them... It was not intentional but just forgot it. :( I really appreciate if you could do for me. :) > > BTW: patch 4 should add a??#include " - Ia??ll add it. Thanks! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org