Skip to contentSkip to conversation

Fix rss acounting

PATCH New Jan Kiszka 1 participant 1 message Jun 3, 2010

Subsystems (2)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 Fix rss acounting

A mismerge caused rss acounting to go wild as the rss vector was no longer properly initialized.

---
 mm/memory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
mm/memory.c +2 -1
index b91ded4..0f6be32 100644
@@ -784,8 +784,9 @@ again:
 	}
 #else
 again:
-	init_rss_vec(rss);
 #endif
+	init_rss_vec(rss);
+
 	dst_pte = pte_alloc_map_lock(dst_mm, dst_pmd, addr, &dst_ptl);
 	if (!dst_pte) {
 		if (uncow_page)
Signature · 1 line
1.6.0.2