Messages in this thread | | | Date | Wed, 8 Aug 2012 19:36:59 +0200 | From | Oleg Nesterov <> | Subject | [PATCH 0/7] uprobes: kill uprobes_state->count, add MMF_HAS_UPROBES |
| |
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(-)
| |