Re: [RFC 2.6.11-rc2-mm2 0/7] mm: manual page migration -- overview II

Ray Bryant
2005-02-18T17:12:02Z

Andi Kleen wrote:

> You and Robin mentioned some problems with "double migration"
> with that, but it's still not completely clear to me what
> problem you're solving here. Perhaps that needs to be reexamined.
>
>
There is one other case where Robin and I have talked about double
migration. That is the case where the set of old nodes and new
nodes overlap. If one is not careful, and the system call interface
is assumed to be something like:

page_migrate(pid, old_node, new_node);

then if one is not careful (and depending on what the complete list
of old_nodes and new_nodes are), then if one does something like:

page_migrate(pid, 1, 2);
page_migrate(pid, 2, 3);

then you can end up actually moving pages from node 1 to node 2,
only to move them again from node 2 to node 3. This is another
form of double migration that we have worried about avoiding.

--
-----------------------------------------------
Ray Bryant
512-453-9679 (work) 512-507-7807 (cell)
raybry@sgi.com raybry@austin.rr.com
The box said: "Requires Windows 98 or better",
so I installed Linux.
-----------------------------------------------