Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320473
b: refs/heads/master
c: 2fd611a
h: refs/heads/master
i:
  320471: 859b81a
v: v3
  • Loading branch information
Oleg Nesterov authored and Ingo Molnar committed Jul 30, 2012
1 parent c5edb0f commit 91d8e66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 665605a2a207dbe1fa429b474f932d6ea138ba92
refs/heads/master: 2fd611a991391a6050cbd139201a2e12fc306540
3 changes: 3 additions & 0 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,9 @@ void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned lon
if (!atomic_read(&uprobe_events) || !valid_vma(vma, false))
return;

if (!atomic_read(&vma->vm_mm->mm_users)) /* called by mmput() ? */
return;

if (!atomic_read(&vma->vm_mm->uprobes_state.count))
return;

Expand Down

0 comments on commit 91d8e66

Please sign in to comment.