Messages in this thread | | | Subject | Re: [PATCH 2/5] uprobes: suppress uprobe_munmap() from mmput() | From | Peter Zijlstra <> | Date | Mon, 09 Jul 2012 12:13:25 +0200 |
| |
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
| |