On Mon, 2007-10-29 at 11:41 -0700, Paul Jackson wrote:I'm with you on this last point! I was reacting to the notion that we can infer intent from a nodemask and that preserving the cpuset relative numbering after changing cpuset resources or moving tasks preserves that intent--especially if it involves locality and distance considerations. I can envision sets of such transformations on HP platforms where locality and distance would be preserved by preserving cpuset-relative numbering, and many where they would not. I expect you could do the same for SGI platforms. I'm not opposed to what you're trying to do, modulo complexity concerns. And I'm not saying that the complexity is not worth it to customers. But, given that we just "providing the mechanism", I think we need to provide very good documentation on the implications of these mechanism vis a vis whatever characteristics--locality, distance, bandwidth sharing, ...--the application intends when it installs a policy. Like you, no doubt, I'm eyeballs deep in a number of things. At some point, I'll take a cut at enumerating various "intents" that different types of applications might have when using mem policies and cpusets. Others can add to that, or may even beat me to it. We can then evaluate how well these scenarios are served by the current mechanisms and by whatever changes are proposed. I should note that I really like cpusets--i.e., find them useful--and I'm painfully aware of the awkward interactions with mempolicy. On the other hand, I don't want to sacrifice mem policy capabilities to shoe horn them into cpusets. In fact, I want to add additional mechanisms that may also be awkward in cpusets. As you say, "if they don't fit your needs, don't use them." Later, Lee -
| Peter Zijlstra | [PATCH 00/23] per device dirty throttling -v8 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
