git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
fs
/
proc
/
task_mmu.c
diff --git
a/fs/proc/task_mmu.c
b/fs/proc/task_mmu.c
index
1a7440a
..
bbdfc94
100644
(file)
--- a/
fs/proc/task_mmu.c
+++ b/
fs/proc/task_mmu.c
@@
-65,7
+65,7
@@
int task_statm(struct mm_struct *mm, int *shared, int *text,
*shared += pages;
continue;
}
- if (vma->vm_f
lags & VM_SHARED || !list_empty(&vma->shared)
)
+ if (vma->vm_f
ile
)
*shared += pages;
if (vma->vm_flags & VM_EXECUTABLE)
*text += pages;