Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-08-18 Thread Nishanth Aravamudan
Hi Gerry, On 25.07.2014 [09:50:01 +0800], Jiang Liu wrote: > > > On 2014/7/25 7:32, Nishanth Aravamudan wrote: > > On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: > >> > >> > >> On 2014/7/22 1:57, Nishanth Aravamudan wrote: > >>> On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: > On Mon,

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-08-18 Thread Nishanth Aravamudan
Hi Gerry, On 25.07.2014 [09:50:01 +0800], Jiang Liu wrote: On 2014/7/25 7:32, Nishanth Aravamudan wrote: On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: On 2014/7/22 1:57, Nishanth Aravamudan wrote: On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-24 Thread Jiang Liu
On 2014/7/25 7:32, Nishanth Aravamudan wrote: > On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: >> >> >> On 2014/7/22 1:57, Nishanth Aravamudan wrote: >>> On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan wrote: > It seems like

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-24 Thread Nishanth Aravamudan
On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: > > > On 2014/7/22 1:57, Nishanth Aravamudan wrote: > > On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: > >> On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan > >> wrote: > >>> It seems like the issue is the order of onlining of resources on

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-24 Thread Nishanth Aravamudan
On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: On 2014/7/22 1:57, Nishanth Aravamudan wrote: On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-24 Thread Jiang Liu
On 2014/7/25 7:32, Nishanth Aravamudan wrote: On 23.07.2014 [16:20:24 +0800], Jiang Liu wrote: On 2014/7/22 1:57, Nishanth Aravamudan wrote: On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-23 Thread Jiang Liu
On 2014/7/22 1:57, Nishanth Aravamudan wrote: > On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: >> On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan >> wrote: >>> It seems like the issue is the order of onlining of resources on a >>> specific x86 platform? >> >> Yes. When we online a node

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-23 Thread Jiang Liu
On 2014/7/22 1:57, Nishanth Aravamudan wrote: On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of resources on a specific x86 platform? Yes. When we online

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Peter Zijlstra
On Mon, Jul 21, 2014 at 10:41:59AM -0700, Tony Luck wrote: > On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan > wrote: > > It seems like the issue is the order of onlining of resources on a > > specific x86 platform? > > Yes. When we online a node the BIOS hits us with some ACPI hotplug

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Nishanth Aravamudan
On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: > On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan > wrote: > > It seems like the issue is the order of onlining of resources on a > > specific x86 platform? > > Yes. When we online a node the BIOS hits us with some ACPI hotplug events: > >

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Tony Luck
On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan wrote: > It seems like the issue is the order of onlining of resources on a > specific x86 platform? Yes. When we online a node the BIOS hits us with some ACPI hotplug events: First: Here are some new cpus Next: Here is some new memory Last;

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Nishanth Aravamudan
Hi Jiang, On 11.07.2014 [15:37:17 +0800], Jiang Liu wrote: > Previously we have posted a patch fix a memory crash issue caused by > memoryless node on x86 platforms, please refer to > http://comments.gmane.org/gmane.linux.kernel/1687425 > > As suggested by David Rientjes, the most suitable fix

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Nishanth Aravamudan
Hi Jiang, On 11.07.2014 [15:37:17 +0800], Jiang Liu wrote: Previously we have posted a patch fix a memory crash issue caused by memoryless node on x86 platforms, please refer to http://comments.gmane.org/gmane.linux.kernel/1687425 As suggested by David Rientjes, the most suitable fix for

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Tony Luck
On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of resources on a specific x86 platform? Yes. When we online a node the BIOS hits us with some ACPI hotplug events: First: Here are some new cpus Next: Here is

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Nishanth Aravamudan
On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of resources on a specific x86 platform? Yes. When we online a node the BIOS hits us with some ACPI

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-21 Thread Peter Zijlstra
On Mon, Jul 21, 2014 at 10:41:59AM -0700, Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of resources on a specific x86 platform? Yes. When we online a node the BIOS hits us with some

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-14 Thread David Rientjes
On Sat, 12 Jul 2014, Jiri Kosina wrote: > I am pretty sure I've seen ppc64 machine with memoryless NUMA node. > Yes, Nishanth Aravamudan (now cc'd) has been working diligently on the problems that have been encountered, including problems in generic kernel code, on powerpc with memoryless

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-14 Thread David Rientjes
On Fri, 11 Jul 2014, Peter Zijlstra wrote: > > There are other cases too. > > Are there any sane ones? > They are specifically allowed by the ACPI specification to be able to include only cpus, I/O, networking cards, etc. -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-14 Thread David Rientjes
On Fri, 11 Jul 2014, Peter Zijlstra wrote: There are other cases too. Are there any sane ones? They are specifically allowed by the ACPI specification to be able to include only cpus, I/O, networking cards, etc. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-14 Thread David Rientjes
On Sat, 12 Jul 2014, Jiri Kosina wrote: I am pretty sure I've seen ppc64 machine with memoryless NUMA node. Yes, Nishanth Aravamudan (now cc'd) has been working diligently on the problems that have been encountered, including problems in generic kernel code, on powerpc with memoryless

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread H. Peter Anvin
On 07/11/2014 01:20 PM, Andi Kleen wrote: > Greg KH writes: > >> On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: >>> On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! >>> >>> Why would anybody _ever_ have a memoryless node? That's

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Jiri Kosina
On Fri, 11 Jul 2014, Greg KH wrote: > > On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: > > > Any comments are welcomed! > > > > Why would anybody _ever_ have a memoryless node? That's ridiculous. > > I'm with Peter here, why would this be a situation that we should even > support?

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Andi Kleen
On Fri, Jul 11, 2014 at 10:51:06PM +0200, Peter Zijlstra wrote: > On Fri, Jul 11, 2014 at 01:20:51PM -0700, Andi Kleen wrote: > > Greg KH writes: > > > > > On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: > > >> On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: > > >> >

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 01:20:51PM -0700, Andi Kleen wrote: > Greg KH writes: > > > On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: > >> On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: > >> > Any comments are welcomed! > >> > >> Why would anybody _ever_ have a

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Andi Kleen
Greg KH writes: > On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: >> On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: >> > Any comments are welcomed! >> >> Why would anybody _ever_ have a memoryless node? That's ridiculous. > > I'm with Peter here, why would this be a

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Dave Hansen
On 07/11/2014 08:33 AM, Greg KH wrote: > On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: >> > On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: >>> > > Any comments are welcomed! >> > >> > Why would anybody _ever_ have a memoryless node? That's ridiculous. > I'm with

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Greg KH
On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: > On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: > > Any comments are welcomed! > > Why would anybody _ever_ have a memoryless node? That's ridiculous. I'm with Peter here, why would this be a situation that we should

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: > Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Jiang Liu
Previously we have posted a patch fix a memory crash issue caused by memoryless node on x86 platforms, please refer to http://comments.gmane.org/gmane.linux.kernel/1687425 As suggested by David Rientjes, the most suitable fix for the issue should be to use cpu_to_mem() rather than cpu_to_node()

[RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Jiang Liu
Previously we have posted a patch fix a memory crash issue caused by memoryless node on x86 platforms, please refer to http://comments.gmane.org/gmane.linux.kernel/1687425 As suggested by David Rientjes, the most suitable fix for the issue should be to use cpu_to_mem() rather than cpu_to_node()

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Greg KH
On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. I'm with Peter here, why would this be a situation that we should even

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Dave Hansen
On 07/11/2014 08:33 AM, Greg KH wrote: On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. I'm with Peter here, why

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Andi Kleen
Greg KH gre...@linuxfoundation.org writes: On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. I'm with Peter here, why

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 01:20:51PM -0700, Andi Kleen wrote: Greg KH gre...@linuxfoundation.org writes: On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Andi Kleen
On Fri, Jul 11, 2014 at 10:51:06PM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 01:20:51PM -0700, Andi Kleen wrote: Greg KH gre...@linuxfoundation.org writes: On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread Jiri Kosina
On Fri, 11 Jul 2014, Greg KH wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's ridiculous. I'm with Peter here, why would this be a situation that we should even support? Are there

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-11 Thread H. Peter Anvin
On 07/11/2014 01:20 PM, Andi Kleen wrote: Greg KH gre...@linuxfoundation.org writes: On Fri, Jul 11, 2014 at 10:29:56AM +0200, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 03:37:17PM +0800, Jiang Liu wrote: Any comments are welcomed! Why would anybody _ever_ have a memoryless node? That's