Re: Make 2.5.17 TLB even more friendlier

From: David S. Miller (davem@redhat.com)
Date: Tue May 21 2002 - 07:10:31 EST


   From: Paul Mackerras <paulus@samba.org>
   Date: Tue, 21 May 2002 22:18:42 +1000 (EST)

   I still need tlb_end_vma in this case - or at least I need a hook
   that gets called after all the tlb_remove_tlb_entry calls are done but
   before clear_page_tables is called. If I had that hook (called in
   both the exit_mmap and unmap cases) then I would not need the
   tlb_start/end_vma hooks.
   
You get called via pte_free_tlb() and pmd_free_tlb() for every
operation performed by clear_page_tables(). The PTEs themselves are
all cleared out at the point that clear_page_tables, so you can't
possibly need the PTE contents. I am assuming therefore you just
need to get at the linkage, and those two pte/pmd hooks give you
that.

-
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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:21 EST