[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070112132016.f11ffc8a.pj@sgi.com>
Date: Fri, 12 Jan 2007 13:20:16 -0800
From: Paul Jackson <pj@....com>
To: Christoph Lameter <clameter@....com>
Cc: akpm@...l.org, sander@...ilis.net, linux-kernel@...r.kernel.org
Subject: Re: 'struct task_struct' has no member named 'mems_allowed' (was:
Re: 2.6.20-rc4-mm1)
Christoph wrote:
> +++ linux-2.6.20-rc4-mm1/mm/mempolicy.c 2007-01-12 13:21:30.220968608 -0600
> ...
> +#ifdef CONFIG_CPUSETS
Argh - minor detail, but this is the first (outside of fs/proc/base.c)
"#ifdef CONFIG_CPUSETS" in a kernel *.c file. I prefer to avoid that.
How about doing this as I suggested in my previous message, like the
other cpuset hooks, with a cpuset_* macro in include/linux/cpuset.h?
This macro would either be the 'nodes_and(...)' code if CPUSETS are
configured, else a no-op. Say something like ...
cpuset_restrict_to_current_mems_allowed(nodes);
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists