Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2013-01-02 Thread Anton Arapov
On Sun, Nov 25, 2012 at 11:33:44PM +0100, Oleg Nesterov wrote: > uprobe_events counts the number of uprobes in uprobes_tree but > it is used as a boolean. We can use RB_EMPTY_ROOT() instead. > > Probably no_uprobe_events() added by this patch can have more > callers, say, mmf_recalc_uprobes(). >

Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-12-23 Thread Oleg Nesterov
On 12/13, Srikar Dronamraju wrote: > > * Oleg Nesterov [2012-11-25 23:33:44]: almost month ago ;) > Acked-by: Srikar Dronamraju Thanks! but what about 2/3 and 3/3? I'd like to send the final (and technically trivial) series which actually turns the filtering on. Oleg. -- To unsubscribe fro

Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-25 23:33:44]: > uprobe_events counts the number of uprobes in uprobes_tree but > it is used as a boolean. We can use RB_EMPTY_ROOT() instead. > Nice idea. > Probably no_uprobe_events() added by this patch can have more > callers, say, mmf_recalc_uprobes(). > > Signed-

[PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-11-25 Thread Oleg Nesterov
uprobe_events counts the number of uprobes in uprobes_tree but it is used as a boolean. We can use RB_EMPTY_ROOT() instead. Probably no_uprobe_events() added by this patch can have more callers, say, mmf_recalc_uprobes(). Signed-off-by: Oleg Nesterov --- kernel/events/uprobes.c | 19 +++--