Re: [PATCH 3/3] kprobes: kretprobes simplifcations

2007-04-01 Thread Ananth N Mavinakayanahalli
On Sat, Mar 31, 2007 at 03:59:29PM +0200, Christoph Hellwig wrote: > - consolidate duplicate code in all arch_prepare_kretprobe instances >into common code > - replace various odd helpers that use hlist_for_each_entry to get >the first elemenet of a list with either a

Re: [PATCH 3/3] kprobes: kretprobes simplifcations

2007-04-01 Thread Ananth N Mavinakayanahalli
On Sat, Mar 31, 2007 at 03:59:29PM +0200, Christoph Hellwig wrote: - consolidate duplicate code in all arch_prepare_kretprobe instances into common code - replace various odd helpers that use hlist_for_each_entry to get the first elemenet of a list with either a

[PATCH 3/3] kprobes: kretprobes simplifcations

2007-03-31 Thread Christoph Hellwig
- consolidate duplicate code in all arch_prepare_kretprobe instances into common code - replace various odd helpers that use hlist_for_each_entry to get the first elemenet of a list with either a hlist_for_each_entry_save or an opencoded access to the first element in the caller -

[PATCH 3/3] kprobes: kretprobes simplifcations

2007-03-31 Thread Christoph Hellwig
- consolidate duplicate code in all arch_prepare_kretprobe instances into common code - replace various odd helpers that use hlist_for_each_entry to get the first elemenet of a list with either a hlist_for_each_entry_save or an opencoded access to the first element in the caller -