]> err.no Git - linux-2.6/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)
commit8c10376271e097fa13cda956e1b2f3cb7e4d4dd9
tree0bb1c428bfddce70eb1195c625add027899416e0
parentb5810039a54e5babf428e9a1e89fc1940fabff11
[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