Re: [PATCHv4] kprobes: Introduce kprobe_handle_fault()

2008-01-09 Thread Harvey Harrison
On Thu, 2008-01-10 at 00:16 +0100, Heiko Carstens wrote: > > arch/avr32/mm/fault.c | 21 + > > arch/ia64/mm/fault.c| 24 +--- > > arch/powerpc/mm/fault.c | 25 + > > arch/s390/mm/fault.c| 25 +

Re: [PATCHv4] kprobes: Introduce kprobe_handle_fault()

2008-01-09 Thread Masami Hiramatsu
Hi Harvey, Harvey Harrison wrote: > Use a central kprobe_handle_fault() inline in kprobes.h to remove > all of the arch-dependant, practically identical implementations in > avr32, ia64, powerpc, s390, sparc64, and x86. > > This patch removes the preempt_disable/enable pair around kprobe_running

Re: [PATCHv4] kprobes: Introduce kprobe_handle_fault()

2008-01-09 Thread Heiko Carstens
> arch/avr32/mm/fault.c | 21 + > arch/ia64/mm/fault.c| 24 +--- > arch/powerpc/mm/fault.c | 25 + > arch/s390/mm/fault.c| 25 + > arch/sparc64/mm/fault.c | 23 +-- > arc

[PATCHv4] kprobes: Introduce kprobe_handle_fault()

2008-01-09 Thread Harvey Harrison
Use a central kprobe_handle_fault() inline in kprobes.h to remove all of the arch-dependant, practically identical implementations in avr32, ia64, powerpc, s390, sparc64, and x86. This patch removes the preempt_disable/enable pair around kprobe_running which was originally added to avoid the asser