![]() | |||||||||||||
Messages in this thread |
Sander wrote:
> > +mbind-restrict-nodes-to-the-currently-allowed-cpuset.patch
>
> I had to revert this patch because of:
>
> ===
> mm/mempolicy.c: In function 'sys_mbind':
> mm/mempolicy.c:885: error: 'struct task_struct' has no member named 'mems_allowed'
You're right - this patch won't build if CONFIG_NUMA is on, and
CONFIG_CPUSETS off.
The line added in the patch:
+ nodes_and(nodes, nodes, current->mems_allowed);
needs to be macro'ized, using another cpuset.h routine, to a no-op, in
the case that CONFIG_CPUSET is disabled.
I'll leave the honors to Christoph (added to CC), since this is his patch.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2007-01-12 12:23 [from the cache] ©2003-2008 | |||||||||||||