Re: [RFC 2.6.11-rc2-mm2 7/7] mm: manual page migration --sys_page_migrate

From: Paul Jackson
Date: Sat Feb 12 2005 - 16:46:28 EST


Dave wrote:
> Might it be useful to use nodemasks instead of those arrays?

I don't think he can. A nodemask represents an unorderd set of nodes.
He needs (or wants) to pass a <nid, nid> map, mapping the node that each
page might be on, to the node to which it should migrate. A bitmask
doesn't contain enough information to specify that.

Perhaps instead he could pass two node arguments, old and new, with the
migration routines understanding that they were to migrate only pages
found on the old node, to the new node, ignoring other pages.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373, 1.925.600.0401
-
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/