[PATCH 0/7] uprobes: kill uprobes_state->count, add MMF_HAS_UPROBES

From: Oleg Nesterov
Date: Wed Aug 08 2012 - 13:40:15 EST


Hello.

Srikar, please review.

This is the first part. The next series will teach uprobes to
clear MMF_HAS_UPROBES, but perhaps we should simply remove
uprobe_munmap() instead. A wrong MMF_HAS_UPROBES doesn't hurt
unless the task hits the non-uprobe "int3", not sure it really
makes sense to try to speedup this case. We will see.

7/7 is offtopic.

Oleg.

include/linux/sched.h | 2 +
include/linux/uprobes.h | 13 ++--
kernel/events/uprobes.c | 141 ++++++++++++----------------------------------
kernel/fork.c | 6 +--
4 files changed, 47 insertions(+), 115 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/