sh: page table alloc cleanups and page fault optimizations.
commit26ff6c11ef38e08990c1e417c299246e6ab18ff7
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 06:13:36 +0000 (27 15:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 06:13:36 +0000 (27 15:13 +0900)
treeebd37fd0270b7c7dfe8474a046663db78fcdb1ab
parent9359e757709a211040e4b0151eae69248e7c6eca
sh: page table alloc cleanups and page fault optimizations.

Cleanup of page table allocators, using generic folded PMD and PUD
helpers. TLB flushing operations are moved to a more sensible spot.

The page fault handler is also optimized slightly, we no longer waste
cycles on IRQ disabling for flushing of the page from the ITLB, since
we're already under CLI protection by the initial exception handler.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
13 files changed:
arch/sh/kernel/sys_sh.c
arch/sh/mm/Makefile
arch/sh/mm/consistent.c
arch/sh/mm/fault.c
arch/sh/mm/init.c
arch/sh/mm/tlb-flush.c [new file with mode: 0644]
include/asm-sh/cache.h
include/asm-sh/cacheflush.h
include/asm-sh/cpu-sh3/cacheflush.h
include/asm-sh/cpu-sh4/cacheflush.h
include/asm-sh/page.h
include/asm-sh/pgalloc.h
include/asm-sh/pgtable.h