[PATCH 2/7] kprobes: Add kprobe_insn_mutex and cleanup arch_remove_kprobe()

Ananth N Mavinakayanahalli ananth@in.ibm.com
Wed Nov 12 15:57:00 GMT 2008


On Tue, Nov 11, 2008 at 03:56:21PM -0500, Masami Hiramatsu wrote:
> Add kprobe_insn_mutex for protecting kprobe_insn_pages hlist, and remove
> kprobe_mutex from architecture dependent code.
> 
> This allows us to call arch_remove_kprobe() (and free_insn_slot) while holding
> kprobe_mutex.
> 
> Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>

Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>



More information about the Systemtap mailing list