Re: [PATCH v3] topology: add support for node_to_mem_node() to determine the fallback node

2014-09-10 Thread Nishanth Aravamudan
On 10.09.2014 [12:06:16 -0700], Andrew Morton wrote: > On Tue, 9 Sep 2014 17:47:23 -0700 Nishanth Aravamudan > wrote: > > > On 09.09.2014 [17:11:15 -0700], Andrew Morton wrote: > > > On Tue, 9 Sep 2014 12:03:27 -0700 Nishanth Aravamudan > > > wrote: > > > > > > > From: Joonsoo Kim > > > > >

Re: [PATCH v3] topology: add support for node_to_mem_node() to determine the fallback node

2014-09-10 Thread Andrew Morton
On Tue, 9 Sep 2014 17:47:23 -0700 Nishanth Aravamudan wrote: > On 09.09.2014 [17:11:15 -0700], Andrew Morton wrote: > > On Tue, 9 Sep 2014 12:03:27 -0700 Nishanth Aravamudan > > wrote: > > > > > From: Joonsoo Kim > > > > > > We need to determine the fallback node in slub allocator if the >

Re: [PATCH v3] topology: add support for node_to_mem_node() to determine the fallback node

2014-09-09 Thread Nishanth Aravamudan
On 09.09.2014 [17:11:15 -0700], Andrew Morton wrote: > On Tue, 9 Sep 2014 12:03:27 -0700 Nishanth Aravamudan > wrote: > > > From: Joonsoo Kim > > > > We need to determine the fallback node in slub allocator if the > > allocation target node is memoryless node. Without it, the SLUB wrongly > >

Re: [PATCH v3] topology: add support for node_to_mem_node() to determine the fallback node

2014-09-09 Thread Andrew Morton
On Tue, 9 Sep 2014 12:03:27 -0700 Nishanth Aravamudan wrote: > From: Joonsoo Kim > > We need to determine the fallback node in slub allocator if the > allocation target node is memoryless node. Without it, the SLUB wrongly > select the node which has no memory and can't use a partial slab, > b

[PATCH v3] topology: add support for node_to_mem_node() to determine the fallback node

2014-09-09 Thread Nishanth Aravamudan
From: Joonsoo Kim We need to determine the fallback node in slub allocator if the allocation target node is memoryless node. Without it, the SLUB wrongly select the node which has no memory and can't use a partial slab, because of node mismatch. Introduced function, node_to_mem_node(X), will retu