[patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-12-05 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Changelog: Move the kernel_text_lock/unlock out of the for loops. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakay

Re: [rfc-patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-11-17 Thread Mathieu Desnoyers
* Roel Kluin ([EMAIL PROTECTED]) wrote: [...] > > for (i = 0; i < KPROBE_TABLE_SIZE; i++) { > > head = &kprobe_table[i]; > > + kernel_text_lock(); > > hlist_for_each_entry_rcu(p, node, head, hlist) > > arch_arm_kprobe(p); > > + ker

Re: [rfc-patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-11-17 Thread Roel Kluin
Mathieu Desnoyers wrote: > Use the mutual exclusion provided by the text edit lock in the kprobes code. > It > allows coherent manipulation of the kernel code by other subsystems. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> >

[rfc-patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-11-16 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTEC

[patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-11-13 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTEC

[patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-09-18 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTEC

Re: [patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-09-18 Thread Ananth N Mavinakayanahalli
On Mon, Sep 17, 2007 at 02:40:38PM -0400, Mathieu Desnoyers wrote: > Use the mutual exclusion provided by the text edit lock in the kprobes code. > It > allows coherent manipulation of the kernel code by other subsystems. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth

[patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-09-17 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] --- ker

[patch 07/11] Text Edit Lock - kprobes architecture independent support

2007-08-20 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] --- ker