projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mm: rss = file_rss + anon_rss
[linux-block.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index d2208f7c87db81c30d8bdd3ddf965e887f693e4a..cefadf5ab83b77472bafa23f337884de3eaf1dc1 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-330,7
+330,7
@@
void install_arg_page(struct vm_area_struct *vma,
pte_unmap(pte);
goto out;
}
- inc_mm_counter(mm, rss);
+ inc_mm_counter(mm,
anon_
rss);
lru_cache_add_active(page);
set_pte_at(mm, address, pte, pte_mkdirty(pte_mkwrite(mk_pte(
page, vma->vm_page_prot))));