Re: [PATCH] Kprobes - use a mutex to protect the instruction pages list.

2007-07-16 Thread Ananth N Mavinakayanahalli
On Sat, Jul 14, 2007 at 03:51:39PM -0400, Mathieu Desnoyers wrote: > Kprobes - use a mutex to protect the instruction pages list. > > Protect the instruction pages list by a specific insn pages mutex, called in > get_insn_slot() and free_insn_slot(). It makes sure that architectures that > does

[PATCH] Kprobes - use a mutex to protect the instruction pages list.

2007-07-14 Thread Mathieu Desnoyers
Kprobes - use a mutex to protect the instruction pages list. Protect the instruction pages list by a specific insn pages mutex, called in get_insn_slot() and free_insn_slot(). It makes sure that architectures that does not need to call arch_remove_kprobe() does not take an unneeded kprobes mutex.