Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980Ab2F1MDH (ORCPT ); Thu, 28 Jun 2012 08:03:07 -0400 Received: from gate.crashing.org ([63.228.1.57]:59907 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473Ab2F1MDF (ORCPT ); Thu, 28 Jun 2012 08:03:05 -0400 Message-ID: <1340884801.20977.84.camel@pasglop> Subject: Re: [PATCH 02/20] mm: Add optional TLB flush to generic RCU page-table freeing From: Benjamin Herrenschmidt To: Peter Zijlstra Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , akpm@linux-foundation.org, Rik van Riel , Hugh Dickins , Mel Gorman , Nick Piggin , Alex Shi , "Nikunj A. Dadhania" , Konrad Rzeszutek Wilk , David Miller , Russell King , Catalin Marinas , Chris Metcalf , Martin Schwidefsky , Tony Luck , Paul Mundt , Jeff Dike , Richard Weinberger , Ralf Baechle , Kyle McMartin , James Bottomley , Chris Zankel Date: Thu, 28 Jun 2012 22:00:01 +1000 In-Reply-To: <1340881511.28750.19.camel@twins> References: <20120627211540.459910855@chello.nl> <20120627212830.693232452@chello.nl> <1340838106.10063.85.camel@twins> <1340867364.20977.65.camel@pasglop> <1340881511.28750.19.camel@twins> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 31 On Thu, 2012-06-28 at 13:05 +0200, Peter Zijlstra wrote: > > > Some embedded ppc's know about the lowest level (SW loaded PMD) but > > that's not an issue here. We flush these special TLB entries > > specifically and synchronously in __pte_free_tlb(). > > OK, I missed that.. is that > arch/powerpc/mm/tlb_nohash.c:tlb_flush_pgtable() ? Yup. > > > So even if the hardware did do speculative tlb fills, it would do > them > > > from the hash-table, but that's already cleared out. > > > > Right, > > Phew at least I got the important thing right ;-) Yeah as long as we have that hash :-) The day we move on (if ever) it will be as bad as ARM :-) Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/