[PATCH 0/3] uprobes: teach uprobes to clear MMF_HAS_UPROBES

From: Oleg Nesterov
Date: Sun Aug 19 2012 - 12:43:39 EST


Hello.

On top of "kill uprobes_state->count, add MMF_HAS_UPROBES"
series.

Once again, I am not sure we really need this (except 1/3).
Perhaps we could remove uprobe_munmap() instead and forget
about the false-positive MMF_HAS_UPROBES's.

OTOH, imho it looks a bit more clean this way. Please comment.

diffstat reports the code bloat, but note that the previous
series removed more code.

Oleg.

include/linux/sched.h | 3 +-
kernel/events/uprobes.c | 82 +++++++++++++++++++++++++++++++++++++----------
2 files changed, 67 insertions(+), 18 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/