Of course they have specific affinity needs, that's why they used
mempolicies. Remapping those policies to a set of nodes that resembles
the original mempolicy's nodemask in terms of construction but without
regard for the affinity those nodes have with respect to system topology
could lead to performance degredations.
No, because you're interleaving over the set of actual nodes you wanted to
interleave over in the first place and not some pseudo-random set that
your cpuset has access to.
You're defending the current remap behavior in terms of semantics of
mempolicies? My position, and Choice C's position, is that you either get
the exact (or partially-constructed) policy that you asked for, or you get
the MPOL_DEFAULT behavior. What you don't get, even though it's currently
how we do it, is a completely different set of nodes that you never
intended to have a specific policy over.
David
-