Re: [PATCH 3/4] uprobes: Kill UPROBE_RUN_HANDLER flag

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-24 19:02:33]: > Simply remove UPROBE_RUN_HANDLER and the corresponding code. > > It can only help if uprobe has a single consumer, and in fact > it is no longer needed after handler_chain() was changed to use > ->register_rwsem, we simply can not race with

Re: [PATCH 3/4] uprobes: Kill UPROBE_RUN_HANDLER flag

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-11-24 19:02:33]: Simply remove UPROBE_RUN_HANDLER and the corresponding code. It can only help if uprobe has a single consumer, and in fact it is no longer needed after handler_chain() was changed to use -register_rwsem, we simply can not race with

[PATCH 3/4] uprobes: Kill UPROBE_RUN_HANDLER flag

2012-11-24 Thread Oleg Nesterov
Simply remove UPROBE_RUN_HANDLER and the corresponding code. It can only help if uprobe has a single consumer, and in fact it is no longer needed after handler_chain() was changed to use ->register_rwsem, we simply can not race with uprobe_register(). Signed-off-by: Oleg Nesterov ---

[PATCH 3/4] uprobes: Kill UPROBE_RUN_HANDLER flag

2012-11-24 Thread Oleg Nesterov
Simply remove UPROBE_RUN_HANDLER and the corresponding code. It can only help if uprobe has a single consumer, and in fact it is no longer needed after handler_chain() was changed to use -register_rwsem, we simply can not race with uprobe_register(). Signed-off-by: Oleg Nesterov o...@redhat.com