aboutsummaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/nommu.c')
-rw-r--r--mm/nommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/nommu.c b/mm/nommu.c
index 0ef241ae3763..599924886eb5 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -1083,7 +1083,7 @@ void update_mem_hiwater(struct task_struct *tsk)
1083 unsigned long rss; 1083 unsigned long rss;
1084 1084
1085 if (likely(tsk->mm)) { 1085 if (likely(tsk->mm)) {
1086 rss = get_mm_counter(tsk->mm, rss); 1086 rss = get_mm_rss(tsk->mm);
1087 if (tsk->mm->hiwater_rss < rss) 1087 if (tsk->mm->hiwater_rss < rss)
1088 tsk->mm->hiwater_rss = rss; 1088 tsk->mm->hiwater_rss = rss;
1089 if (tsk->mm->hiwater_vm < tsk->mm->total_vm) 1089 if (tsk->mm->hiwater_vm < tsk->mm->total_vm)