[PATCH] mm: zap_pte_range dec rss
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:14 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:39 +0000 (21:40 -0700)
commit86d912f41dca32eca8827f2f878139735e69dc28
tree9f29b853e7690f0fa10c4257a2b8649673908e2d
parent8c10376271e097fa13cda956e1b2f3cb7e4d4dd9
[PATCH] mm: zap_pte_range dec rss

Small adjustment: zap_pte_range decrement its rss counts from 0 then finally
add, avoiding negations - we don't have or need a sub_mm_rss.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c