Re: [PATCH] mm: make do_move_pages() complexity linear

From: Christoph Lameter
Date: Fri Sep 12 2008 - 10:22:25 EST


Brice Goglin wrote:

> I don't think so. If this happens, the while loop will skip those pages.
> (while in the regular case, the while loop does 0 iterations).
> The while loop is still here to make sure we are processing the right pm
> entry. What the patch changes is only that we don't uselessly look at
> the already-processed beginning of pm.

Ahh.. I missed that.

Acked-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/