LKML Archive on
help / color / mirror / Atom feed
* Re: - sys_mbind-use-cpuset-accessors-for-mems_allowed.patch removed from -mm tree
       [not found] <>
@ 2007-01-12 21:25 ` Paul Jackson
  0 siblings, 0 replies; only message in thread
From: Paul Jackson @ 2007-01-12 21:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, apw, clameter, mm-commits

Andrew, regarding a patch by Andy:
> +	nodemask_t allowed_nodes;
>  	err = get_nodes(&nodes, nmask, maxnode);
> -	nodes_and(nodes, nodes, current->mems_allowed);
> +	allowed_nodes = cpuset_mems_allowed(current);

Not that it matters now, as we're messing with other variations,
but I notice that the above is (1) better looking than having an
#ifdef, (2) better than being broken in the NUMA yes, CPUSETS no,
config, but (3) burdens this code with another nodemask and
nodes_and() op, even in the case that CPUSETS are not configured.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-12 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <>
2007-01-12 21:25 ` - sys_mbind-use-cpuset-accessors-for-mems_allowed.patch removed from -mm tree Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).