Messages in this thread |  | | | Date | Fri, 25 Mar 2005 16:29:26 -0800 | | From | "David S. Miller" <> | | Subject | Re: [PATCH 1/6] freepgt: free_pgtables use vma list |
| |
On Fri, 25 Mar 2005 09:23:12 -0800 "David S. Miller" <davem@davemloft.net> wrote:
> On Fri, 25 Mar 2005 16:32:07 +1100 > Nick Piggin <nickpiggin@yahoo.com.au> 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/
|  |