projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uprobes/core: Decrement uprobe count before the pages are unmapped
[linux-2.6-block.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index 6105f475fa8633edf5180792b2cf0c5288734f08..bf8b4035277da312b53bfcb796fb033faf1f576a 100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-1307,6
+1307,9
@@
static void unmap_single_vma(struct mmu_gather *tlb,
if (end <= vma->vm_start)
return;
+ if (vma->vm_file)
+ uprobe_munmap(vma, start, end);
+
if (vma->vm_flags & VM_ACCOUNT)
*nr_accounted += (end - start) >> PAGE_SHIFT;