[PATCH] mm: copy_pte_range progress fix
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:15:53 +0000 (18:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:36 +0000 (21:40 -0700)
commite040f218bb49a6965a5b77edce05fe47a62dda39
treee5547e04fa312f1b87db66e4ac2b6eed885ca276
parent09ad4bbc3a5c93316d7f4ffc0c310d9cbb28c2f0
[PATCH] mm: copy_pte_range progress fix

My latency breaking in copy_pte_range didn't work as intended: instead of
checking at regularish intervals, after the first interval it checked every
time around the loop, too impatient to be preempted.  Fix that.

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