]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] mm: copy_one_pte inc rss
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:13 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:39 +0000 (21:40 -0700)
commitb76b9ae93d8594222d13f984ef9a0f5f6b673c6b
tree0bb1c428bfddce70eb1195c625add027899416e0
parente4469bb2a7f8eb259811685f12bb34b289e41d5c
[PATCH] mm: copy_one_pte inc rss

Small adjustment, following Nick's suggestion: it's more straightforward for
copy_pte_range to let copy_one_pte do the rss incrementation, than use an
index it passed back.  Saves a #define, and 16 bytes of .text.

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