linux/arch/um/kernel/skas
Jeff Dike 64f60841c0 uml: speed page fault path
Give the page fault code a specialized path.  There is only one page to look
at, so there's no point in going into the general page table walking code.
There's only going to be one host operation, so there are no opportunities for
merging.  So, we go straight to the pte we want, figure out what needs doing,
and do it.

While I was in here, I fixed the wart where the address passed to unmap was a
void *, but an unsigned long to map and protect.

This gives me just under 10% on a kernel build.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:04 -07:00
..
clone.c [PATCH] uml skas0: stop gcc's insanity 2005-12-18 11:19:44 -08:00
exec.c uml: speed up exec 2007-05-07 12:13:02 -07:00
Makefile [PATCH] uml: file renaming 2006-09-27 08:26:16 -07:00
mem.c [PATCH] uml: remove code controlled by non-existent config option 2007-02-11 10:51:23 -08:00
mmu.c [PATCH] uml: correct removal of pte_mkexec 2006-10-11 11:14:20 -07:00
process.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
syscall.c [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
tlb.c uml: speed page fault path 2007-05-07 12:13:04 -07:00
uaccess.c [PATCH] uml: make copy_*_user atomic 2006-07-01 09:56:03 -07:00