lkml.org 
[lkml]   [2002]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Note describing poor dcache utilization under high memory pressure

On Tue, 29 Jan 2002, Oliver Xymoron wrote:
>
> I don't think read-only for the tables is sufficient if the pages
> themselves are writable.

At least on x86, the WRITE bit in the page directory entries will override
any bits int he PTE. In other words, it doesn't make the page directory
entries thmselves unwritable - it makes the final pages unwritable.

Which are exactly the semantics we want.

I have this strong feeling (but am lazy enough to not try to find the
documentation) that on alpha the access bits in the upper page tables are
just ignored (ie you have to actually turn off the present bit), which is
a bit sad as it shouldn't matter from a PAL-code standpoint (just two more
"and" instructions to and all the levels access bits together).

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:15    [W:0.191 / U:0.896 seconds]
©2003-2014 Jasper Spaans. Advertise on this site