On Mon, 2012-07-09 at 12:09 +0200, Oleg Nesterov wrote: > No, mmap/munmap do not participate in uprobe refcounting. This code > does put_uprobe() for each uprobe, yes, but only because the counter > was incremented in build_probe_list(). > > uprobe_munmap() is only needed to decrement mm->uprobes_state.count, > but nobody except uprobe_munmap() itself will use it after mmput().
OK, that also answers my other question. Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/