]> git.baikalelectronics.ru Git - kernel.git/commit
x86: do_page_fault small unification
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:33:12 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:12 +0000 (13:33 +0100)
commit681906097c24152533c8727bf512000058512e9b
tree4926ecc581c767eee053a2d74f84b832d9ea4948
parent67814e060a54d6a1371ebcfce64d9e441950143c
x86: do_page_fault small unification

Copy the prefetch of map_sem from X86_64 and move the check
notify_page_fault (soon to be kprobe_handle_fault) out of
the unlikely if() statement.

This makes the X86_32|64 pagefault handlers closer to each
other.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/fault_32.c
arch/x86/mm/fault_64.c