projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] mm: vm_stat_account unshackled
[deliverable/linux.git]
/
mm
/
mprotect.c
diff --git
a/mm/mprotect.c
b/mm/mprotect.c
index 57577f63b305e6a50fd0e9a2861dd2888a62dd77..b426f01c5e9cdb0329657076d8a2e8908e3e015a 100644
(file)
--- a/
mm/mprotect.c
+++ b/
mm/mprotect.c
@@
-168,8
+168,8
@@
success:
vma->vm_flags = newflags;
vma->vm_page_prot = newprot;
change_protection(vma, start, end, newprot);
vma->vm_flags = newflags;
vma->vm_page_prot = newprot;
change_protection(vma, start, end, newprot);
-
__
vm_stat_account(mm, oldflags, vma->vm_file, -nrpages);
-
__
vm_stat_account(mm, newflags, vma->vm_file, nrpages);
+ vm_stat_account(mm, oldflags, vma->vm_file, -nrpages);
+ vm_stat_account(mm, newflags, vma->vm_file, nrpages);
return 0;
fail:
return 0;
fail:
This page took
0.026747 seconds
and
5
git commands to generate.