[RFC PATCH 2/3] topology: support node_numa_mem() for determining the fallback node
Joonsoo Kim
iamjoonsoo.kim at lge.com
Fri Feb 7 16:42:04 EST 2014
On Thu, Feb 06, 2014 at 11:11:31AM -0800, Nishanth Aravamudan wrote:
> > diff --git a/include/linux/topology.h b/include/linux/topology.h
> > index 12ae6ce..66b19b8 100644
> > --- a/include/linux/topology.h
> > +++ b/include/linux/topology.h
> > @@ -233,11 +233,20 @@ static inline int numa_node_id(void)
> > * Use the accessor functions set_numa_mem(), numa_mem_id() and cpu_to_mem().
> > */
> > DECLARE_PER_CPU(int, _numa_mem_);
> > +int _node_numa_mem_[MAX_NUMNODES];
>
> Should be static, I think?
Yes, will update it.
Thanks.
More information about the Linuxppc-dev
mailing list