]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitad4240eb7f90cb82a4cb4dc97e2fa31678fb8983
treee5547e04fa312f1b87db66e4ac2b6eed885ca276
parent30e62e36f0a19438c172c3f76fa238759ec4b9dd
[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