From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752638AbdHKJYW (ORCPT ); Fri, 11 Aug 2017 05:24:22 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:56813 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751618AbdHKJYT (ORCPT ); Fri, 11 Aug 2017 05:24:19 -0400 Date: Fri, 11 Aug 2017 11:23:34 +0200 From: Peter Zijlstra To: Nadav Amit Cc: linux-mm@kvack.org, nadav.amit@gmail.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Minchan Kim , 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: <20170811092334.rmeazkklvordrmrl@hirez.programming.kicks-ass.net> References: <20170802000818.4760-1-namit@vmware.com> <20170802000818.4760-5-namit@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170802000818.4760-5-namit@vmware.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH v6 4/7] mm: refactoring TLB gathering API Date: Fri, 11 Aug 2017 11:23:34 +0200 Message-ID: <20170811092334.rmeazkklvordrmrl@hirez.programming.kicks-ass.net> References: <20170802000818.4760-1-namit@vmware.com> <20170802000818.4760-5-namit@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170802000818.4760-5-namit@vmware.com> Sender: owner-linux-mm@kvack.org To: Nadav Amit Cc: linux-mm@kvack.org, nadav.amit@gmail.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Minchan Kim , Ingo Molnar , Russell King , Tony Luck , Martin Schwidefsky , "David S. Miller" , Heiko Carstens , Yoshinori Sato , Jeff Dike , linux-arch@vger.kernel.org, Mel Gorman List-Id: linux-arch.vger.kernel.org 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. -- 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