Re: [PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()

2008-02-07 Thread Masami Hiramatsu
Harvey Harrison wrote: > This patch removes the preempt_disable/enable pair around kprobe_running > which was originally added to avoid the assertion from smp_processor_id > which would be hit an asertion if preemption was enabled. > > Kprobes can not be running if we are preemptible, so test expl

[PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()

2008-02-02 Thread Harvey Harrison
This patch removes the preempt_disable/enable pair around kprobe_running which was originally added to avoid the assertion from smp_processor_id which would be hit an asertion if preemption was enabled. Kprobes can not be running if we are preemptible, so test explicitly for preemption and bail ou

Re: [PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()

2008-01-09 Thread Masami Hiramatsu
Harvey Harrison wrote: > This patch removes the preempt_disable/enable pair around kprobe_running > which was originally added to avoid the assertion from smp_processor_id > which would be hit an asertion if preemption was enabled. > > Kprobes can not be running if we are preemptible, so test expl

[PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()

2008-01-09 Thread Harvey Harrison
This patch removes the preempt_disable/enable pair around kprobe_running which was originally added to avoid the assertion from smp_processor_id which would be hit an asertion if preemption was enabled. Kprobes can not be running if we are preemptible, so test explicitly for preemption and bail ou