[PATCH 0/4] uprobes: remove is_swbp_at_addr() fromregister/unregister

From: Oleg Nesterov
Date: Sun Sep 23 2012 - 16:19:21 EST


Hello.

1. the usage of is_swbp_at_addr() is confusing. This series tries
to answer the questions we got during the discussion about
powerpc port which has multiple trap insns.

Ananth, please review too ;) at least the changelog in 1/4.

Note: the changelog doesn't mention is_swbp_insn(). If powerpc
wants to change it, we need 2 helpers for verify_opcode() and
for is_swbp_at_addr().

2. This is also preparation for the pre-filtering I am working on.

In particular, this series tries to make clear the fact that
register/unregister should be "idempotent".

Oleg.

kernel/events/uprobes.c | 165 +++++++++++++++++------------------------------
1 files changed, 59 insertions(+), 106 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/