Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261890AbVCZAaW (ORCPT ); Fri, 25 Mar 2005 19:30:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261891AbVCZAaW (ORCPT ); Fri, 25 Mar 2005 19:30:22 -0500 Received: from dsl027-180-174.sfo1.dsl.speakeasy.net ([216.27.180.174]:11468 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id S261890AbVCZAaQ (ORCPT ); Fri, 25 Mar 2005 19:30:16 -0500 Date: Fri, 25 Mar 2005 16:29:26 -0800 From: "David S. Miller" To: "David S. Miller" Cc: nickpiggin@yahoo.com.au, hugh@veritas.com, akpm@osdl.org, tony.luck@intel.com, benh@kernel.crashing.org, ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] freepgt: free_pgtables use vma list Message-Id: <20050325162926.6d28448b.davem@davemloft.net> In-Reply-To: <20050325092312.4ae2bd32.davem@davemloft.net> References: <4243A257.8070805@yahoo.com.au> <20050325092312.4ae2bd32.davem@davemloft.net> X-Mailer: Sylpheed version 1.0.3 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 30 On Fri, 25 Mar 2005 09:23:12 -0800 "David S. Miller" wrote: > On Fri, 25 Mar 2005 16:32:07 +1100 > Nick Piggin wrote: > > > So, to make the question more concrete: if a pgd_t is freed due > > to freeing the single pmd_t contained within it (which was the > > only part of the pgd's address space that contained a valid mapping) > > Then do you need the full PGDIR_SIZE width passed to > > flush_tlb_pgtables, or just the PMD_SIZE'd start,end that covered > > the freed pmd_t? > > Just the PMD_SIZE'd start,end is necessary. Since sparc64 is the only user of this thing... Let's make it so that the flush can be queued up at pmd_clear() time, as that's what we really want. Something like: pmd_clear(mm, vaddr, pmdp); I'll try to play with something like this later. - 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/