Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752383AbdHNAtS (ORCPT ); Sun, 13 Aug 2017 20:49:18 -0400 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:54341 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132AbdHNAtQ (ORCPT ); Sun, 13 Aug 2017 20:49:16 -0400 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.220.163 X-Original-MAILFROM: minchan@kernel.org Date: Mon, 14 Aug 2017 09:49:10 +0900 From: Minchan Kim To: Nadav Amit Cc: Peter Zijlstra , "open list:MEMORY MANAGEMENT" , LKML , Andrew Morton , Ingo Molnar , Russell King , Tony Luck , Martin Schwidefsky , "David S. Miller" , Heiko Carstens , Yoshinori Sato , Jeff Dike , linux-arch@vger.kernel.org, Mel Gorman Subject: Re: [PATCH v6 4/7] mm: refactoring TLB gathering API Message-ID: <20170814004910.GA25427@bbox> References: <20170802000818.4760-1-namit@vmware.com> <20170802000818.4760-5-namit@vmware.com> <20170811092334.rmeazkklvordrmrl@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 22 On Fri, Aug 11, 2017 at 10:12:45AM -0700, Nadav Amit wrote: > Peter Zijlstra wrote: > > > On Tue, Aug 01, 2017 at 05:08:15PM -0700, Nadav Amit wrote: > >> From: Minchan Kim > >> > >> This patch is a preparatory patch for solving race problems caused by > >> TLB batch. 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. > > > > I absolutely hate this. We should unify this stuff, not diverge it > > further. > > Agreed, but I don’t see how this patch makes the situation any worse. Agree with Nadav. I don't think this patch makes things diverge further. Peter, If you are strong against of it, please tell us what part you are hating.