Re: [PATCH 4/7] uprobes: do not use -EEXIST in install_breakpoint() paths

2012-08-13 Thread Srikar Dronamraju
* Oleg Nesterov [2012-08-08 19:37:44]: > -EEXIST from install_breakpoint() no longer makes sense, all > callers should simply treat it as "success". Change the code > to return zero and simplify register_for_each_vma(). > > Signed-off-by: Oleg Nesterov > --- Acked-by: Srikar Dronamraju -- To

[PATCH 4/7] uprobes: do not use -EEXIST in install_breakpoint() paths

2012-08-08 Thread Oleg Nesterov
-EEXIST from install_breakpoint() no longer makes sense, all callers should simply treat it as "success". Change the code to return zero and simplify register_for_each_vma(). Signed-off-by: Oleg Nesterov --- kernel/events/uprobes.c | 16 +--- 1 files changed, 5 insertions(+), 11 de