Re: [PATCH] Memoryless nodes: use "node_memory_map" for cpuset mems_allowed validation

Paul Jackson
2007-07-23T19:23:33Z

> Or perhaps we should adjust cpusets to make it so that the mems_allowed
> member only includes nodes that are set in node_states[N_MEMORY]?
>
> What do you think? Paul?

Do you mean the "mems_alloed member" of the task struct ?

That might make sense - changing task->mems_allowed to just include nodes
with memory.

Someone would have to audit the entire kernel for uses of task->mems_allowed,
to see if all uses would be ok with this change.

I'm on vacation this week and next, so won't be doing that work right now.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401