From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: TLB and PTE coherency during munmap Date: Mon, 3 Jun 2013 12:04:44 +0200 Message-ID: <20130603100444.GB8923@twins.programming.kicks-ass.net> References: <51A45861.1010008@gmail.com> <20130529122728.GA27176@twins.programming.kicks-ass.net> <51A5F7A7.5020604@synopsys.com> <20130529175125.GJ12193@twins.programming.kicks-ass.net> <20130603090501.GI5910@twins.programming.kicks-ass.net> <20130603091621.GA23320@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Catalin Marinas Cc: Ingo Molnar , Max Filippov , Vineet Gupta , KAMEZAWA Hiroyuki , "linux-arch@vger.kernel.org" , linux-mm , Ralf Baechle , Chris Zankel , Marc Gauthier , linux-xtensa@linux-xtensa.org, Hugh Dickins , Thomas Gleixner , Linus Torvalds , Andrew Morton List-Id: linux-arch.vger.kernel.org On Mon, Jun 03, 2013 at 11:01:39AM +0100, Catalin Marinas wrote: > On ARM there is a lot of ongoing work on single zImage for multiple > SoCs and this implies SMP kernels. There is an SMP_ON_UP feature which > does run-time code patching to optimise the UP case in a few places. > > Regarding tlb_fast_mode(), the ARM-specific implementation is always 0 > on ARMv7 even if UP because of speculative TLB loads (the MMU could > pretty much act as a separate processor). Oh right.. I should really refresh the mmu_gather unification patches so all archs are using the generic code. /me ups on todo list. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from merlin.infradead.org ([205.233.59.134]:54045 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757120Ab3FCKFC (ORCPT ); Mon, 3 Jun 2013 06:05:02 -0400 Date: Mon, 3 Jun 2013 12:04:44 +0200 From: Peter Zijlstra Subject: Re: TLB and PTE coherency during munmap Message-ID: <20130603100444.GB8923@twins.programming.kicks-ass.net> References: <51A45861.1010008@gmail.com> <20130529122728.GA27176@twins.programming.kicks-ass.net> <51A5F7A7.5020604@synopsys.com> <20130529175125.GJ12193@twins.programming.kicks-ass.net> <20130603090501.GI5910@twins.programming.kicks-ass.net> <20130603091621.GA23320@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Catalin Marinas Cc: Ingo Molnar , Max Filippov , Vineet Gupta , KAMEZAWA Hiroyuki , "linux-arch@vger.kernel.org" , linux-mm , Ralf Baechle , Chris Zankel , Marc Gauthier , linux-xtensa@linux-xtensa.org, Hugh Dickins , Thomas Gleixner , Linus Torvalds , Andrew Morton Message-ID: <20130603100444.smWU5miDybtU56irgKFJIcR5iOzx67yUJ7L9ZonhuPU@z> On Mon, Jun 03, 2013 at 11:01:39AM +0100, Catalin Marinas wrote: > On ARM there is a lot of ongoing work on single zImage for multiple > SoCs and this implies SMP kernels. There is an SMP_ON_UP feature which > does run-time code patching to optimise the UP case in a few places. > > Regarding tlb_fast_mode(), the ARM-specific implementation is always 0 > on ARMv7 even if UP because of speculative TLB loads (the MMU could > pretty much act as a separate processor). Oh right.. I should really refresh the mmu_gather unification patches so all archs are using the generic code. /me ups on todo list.