Re: [PATCH -mm] do_migrate_pages() calls migrate_to_node() even iftask is already on a correct node

From: Larry Woodman
Date: Thu Mar 22 2012 - 16:14:08 EST


On 03/22/2012 03:36 PM, Valdis.Kletnieks@xxxxxx wrote:
On Thu, 22 Mar 2012 15:07:00 -0400, Larry Woodman said:

So to be clear on this, in that case the intention would be move 3 to 4,
4 to 5 and 5 to 6
to keep the node ordering the same?
Would it make more sense to do 5->6, 4->5, 3->4? If we move stuff
from 3 to 4 before clearing the old 4 stuff out, it might get crowded?

Yes, I didnt try to imply the order in which pages were moved just
the additional moving necessary.

--
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/