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
vserver 1.9.3
[linux-2.6.git]
/
mm
/
mprotect.c
diff --git
a/mm/mprotect.c
b/mm/mprotect.c
index
88041d4
..
67d02dc
100644
(file)
--- a/
mm/mprotect.c
+++ b/
mm/mprotect.c
@@
-175,9
+175,11
@@
success:
* vm_flags and vm_page_prot are protected by the mmap_sem
* held in write mode.
*/
+ vm_stat_unaccount(vma);
vma->vm_flags = newflags;
vma->vm_page_prot = newprot;
change_protection(vma, start, end, newprot);
+ vm_stat_account(vma);
return 0;
fail: