lkml.org 
[lkml]   [2002]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Make 2.5.17 TLB even more friendlier

On Tue, 21 May 2002, Paul Mackerras wrote:
>
> I have a bit in the PTE that tells me if there is an MMU hash table
> entry for the virtual address represented by the PTE.

This is exactly why 2.5.17 has the "tlb_remove_pte_entry()", and why it is
passed down the pte that we just cleared out - so that architectures can
hide details like this in the page tables (the other use is to hide things
like "iTBL vs dTLB" etc).

Sp why don't you just make "tlb_remove_pte_entry()" look at your bit, and
then if that bit is set you try to remove the entry from the hash chains
at that point?

You _have_ to do it this way, in fact, since reserved pages and other
"VM-invisible" pages aren't even passed down to "tlb_remove_page()"
(because they have no freeing logic, and they have no impact on RSS).

Linus

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

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.116 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site