Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971Ab1B1NEQ (ORCPT ); Mon, 28 Feb 2011 08:04:16 -0500 Received: from casper.infradead.org ([85.118.1.10]:52949 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753557Ab1B1NEO convert rfc822-to-8bit (ORCPT ); Mon, 28 Feb 2011 08:04:14 -0500 Subject: Re: [PATCH 06/17] arm: mmu_gather rework From: Peter Zijlstra To: Russell King Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , Paul McKenney , Yanmin Zhang , "Luck,Tony" , PaulMundt , Chris Metcalf In-Reply-To: <20110228125058.GD492@flint.arm.linux.org.uk> References: <20110217162327.434629380@chello.nl> <20110217163235.106239192@chello.nl> <1298565253.2428.288.camel@twins> <1298657083.2428.2483.camel@twins> <20110225215123.GA10026@flint.arm.linux.org.uk> <1298893487.2428.10537.camel@twins> <20110228115907.GB492@flint.arm.linux.org.uk> <1298895612.2428.10621.camel@twins> <20110228122803.GC492@flint.arm.linux.org.uk> <1298897342.2428.10687.camel@twins> <20110228125058.GD492@flint.arm.linux.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Mon, 28 Feb 2011 14:03:18 +0100 Message-ID: <1298898198.2428.10728.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 32 On Mon, 2011-02-28 at 12:50 +0000, Russell King wrote: > On Mon, Feb 28, 2011 at 01:49:02PM +0100, Peter Zijlstra wrote: > > On Mon, 2011-02-28 at 12:28 +0000, Russell King wrote: > > > Can you point out where pte_free_tlb() is used with unmap_region()? > > > > unmap_region() > > free_pgtables() > > free_pgd_range() > > free_pud_range() > > free_pmd_range() > > free_pte_range() > > pte_free_tlb() > > Damn it. Okay, I give up with this. The TLB shootdown interface is > total crap. :-) There's a reason I'd like to make everybody use asm-generic/tlb.h and unify all the crazy bits. Once there's common code everybody is forced to think about this stuff instead of endlessly hack their own architecture to make it work without consideration for the rest of us. Furthermore, I don't think its actually too hard to do.. (famous last words). -- 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/