diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2009-11-20 00:21:03 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 06:10:36 (GMT) |
commit | fe11dc3f9628e5393e932567b7e29d35cbbad136 (patch) | |
tree | 32b2513f5799946d42a7b4c912c0fa094763810f /Kbuild | |
parent | 5efab4a02c89c252fb4cce097aafde5f8208dbfe (diff) | |
download | linux-fe11dc3f9628e5393e932567b7e29d35cbbad136.tar.xz |
powerpc/8xx: Update TLB asm so it behaves as linux mm expects.
Update the TLB asm to make proper use of _PAGE_DIRY and _PAGE_ACCESSED.
Get rid of _PAGE_HWWRITE too.
Pros:
- I/D TLB Miss never needs to write to the linux pte.
- _PAGE_ACCESSED is only set on TLB Error fixing accounting
- _PAGE_DIRTY is mapped to 0x100, the changed bit, and is set directly
when a page has been made dirty.
- Proper RO/RW mapping of user space.
- Free up 2 SW TLB bits in the linux pte(add back _PAGE_WRITETHRU ?)
- kernel RO/user NA support.
Cons:
- A few more instructions in the TLB Miss routines.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions