Re: cpusets vs. mempolicy and how to get interleaving
From: Paul Jackson <hidden>
Date: 2007-08-20 18:25:38
David wrote:
Like I've already said, there is absolutely no reason to add a new MPOL variant for this case. As Christoph already mentioned, PF_SPREAD_PAGE gets similar results. So just modify mpol_rebind_policy() so that if /dev/cpuset/<cpuset>/memory_spread_page is true, you rebind the interleaved nodemask to all nodes in the new nodemask. That's the well-defined cpuset interface for getting an interleaved behavior already.
Hmm ... nice.
As David likely guesses, I didn't read his earlier suggestion of this.
Thanks for repeating it.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson [off-list ref] 1.925.600.0401
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>