Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-29 Thread Mel Gorman
On (27/01/08 15:54), KOSAKI Motohiro didst pronounce: > Hi Mel > > > > my patch stack is > > > 2.6.24-rc7 + > > > http://lkml.org/lkml/2007/8/24/220 + > > > > Can you replace this patch with the patch below instead and try again > > please? This is the patch that is actually in git-x86. Out

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-29 Thread Mel Gorman
On (27/01/08 15:54), KOSAKI Motohiro didst pronounce: Hi Mel my patch stack is 2.6.24-rc7 + http://lkml.org/lkml/2007/8/24/220 + Can you replace this patch with the patch below instead and try again please? This is the patch that is actually in git-x86. Out of curiousity,

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-28 Thread KOSAKI Motohiro
> here's a QuickStart: > >http://redhat.com/~mingo/x86.git/README Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-28 Thread Ingo Molnar
* KOSAKI Motohiro <[EMAIL PROTECTED]> wrote: > > Can you replace this patch with the patch below instead and try > > again please? This is the patch that is actually in git-x86. Out of > > curiousity, have you tried the latest mm branch from git-x86? > > to be honest, I didn't understand

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-28 Thread Ingo Molnar
* KOSAKI Motohiro [EMAIL PROTECTED] wrote: Can you replace this patch with the patch below instead and try again please? This is the patch that is actually in git-x86. Out of curiousity, have you tried the latest mm branch from git-x86? to be honest, I didn't understand usage of git,

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-28 Thread KOSAKI Motohiro
here's a QuickStart: http://redhat.com/~mingo/x86.git/README Thanks! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread KOSAKI Motohiro
Hi Mel > > my patch stack is > > 2.6.24-rc7 + > > http://lkml.org/lkml/2007/8/24/220 + > > Can you replace this patch with the patch below instead and try again > please? This is the patch that is actually in git-x86. Out of > curiousity, have you tried the latest mm branch from git-x86? to

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread Mel Gorman
On (26/01/08 23:10), KOSAKI Motohiro didst pronounce: > Hi Mel > > > >To rule it out, can you also try with the patch below applied please? It > >should only make a difference on sparsemem so if discontigmem is still > >crashing, there is likely another problem. Assuming it crashes, please >

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread KOSAKI Motohiro
> 1. if sparce_mem on, build failture after fix compile error, no panic and bad-page happened both highmem off and 64G. I guess discontigmem numa is premature yet ;-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread KOSAKI Motohiro
Hi Mel >To rule it out, can you also try with the patch below applied please? It >should only make a difference on sparsemem so if discontigmem is still >crashing, there is likely another problem. Assuming it crashes, please >post the full dmesg output with loglevel=8 on the command line. Thanks

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread KOSAKI Motohiro
Hi Mel To rule it out, can you also try with the patch below applied please? It should only make a difference on sparsemem so if discontigmem is still crashing, there is likely another problem. Assuming it crashes, please post the full dmesg output with loglevel=8 on the command line. Thanks I

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread KOSAKI Motohiro
1. if sparce_mem on, build failture after fix compile error, no panic and bad-page happened both highmem off and 64G. I guess discontigmem numa is premature yet ;-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-26 Thread Mel Gorman
On (26/01/08 23:10), KOSAKI Motohiro didst pronounce: Hi Mel To rule it out, can you also try with the patch below applied please? It should only make a difference on sparsemem so if discontigmem is still crashing, there is likely another problem. Assuming it crashes, please post the full

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread KOSAKI Motohiro
Hi > To rule it out, can you also try with the patch below applied please? It > should only make a difference on sparsemem so if discontigmem is still > crashing, there is likely another problem. Assuming it crashes, Aaah, sorry. I can't test again until next week. I repost at that time... >

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Mel Gorman
On (23/01/08 14:48), Andi Kleen didst pronounce: > On Wednesday 23 January 2008 12:24:36 Mel Gorman wrote: > > On (23/01/08 12:15), Andi Kleen didst pronounce: > > > Anyways from your earlier comments it sounds like you're trying to add > > > SRAT parsing to CONFIG_NUMAQ. Since that's redundant

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Andi Kleen
On Wednesday 23 January 2008 12:24:36 Mel Gorman wrote: > On (23/01/08 12:15), Andi Kleen didst pronounce: > > Anyways from your earlier comments it sounds like you're trying to add > > SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the old > > implementation it doesn't sound like a

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Mel Gorman
On (23/01/08 12:15), Andi Kleen didst pronounce: > > Anyways from your earlier comments it sounds like you're trying to add SRAT > parsing to CONFIG_NUMAQ. Since that's redundant with the old implementation > it doesn't sound like a very useful thing to do. > No, that would not be useful at

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Andi Kleen
Anyways from your earlier comments it sounds like you're trying to add SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the old implementation it doesn't sound like a very useful thing to do. But the patch is applied already i think. Well I'm sure it passed checkpatch.pl at least.

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Andi Kleen
> > I was pretty sure that a !NUMAQ i386 CONFIG_NUMA build > > already used that. > > Presumably a GENERICARCH configuration GENERICARCH includes SUMMIT so yes. > > At least that was the case when I last looked. If that > > has changed it must have bitrotted recently. > > I don't think it has

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:45), Andi Kleen didst pronounce: > > > > i386 already has srat parsing code (just written in a horrible hackish > > > way); but it exists arch/x86/kernel/srat_32.c > > > > Yes, I spotted that. Enabling it required a Kconfig change > > does it? hmm, just a removal of (X86_SUMMIT

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Andi Kleen
> > i386 already has srat parsing code (just written in a horrible hackish > > way); but it exists arch/x86/kernel/srat_32.c > > Yes, I spotted that. Enabling it required a Kconfig change does it? I was pretty sure that a !NUMAQ i386 CONFIG_NUMA build already used that. At least that was the

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (22/01/08 14:33), Andi Kleen didst pronounce: > > > Without SRAT support, a compile-error occurs because ACPI table parsing > > functions are only available in x86-64. This patch also adds no-op stubs > > and prints a warning message. What likely needs to be done is sharing > > the table

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:04), KOSAKI Motohiro didst pronounce: > Hi mel > > > Hi > > > > > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > > > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > > > at the restrictions on setting NUMA on x86 to see if

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:04), KOSAKI Motohiro didst pronounce: > Hi mel > > > Hi > > > > > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > > > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > > > at the restrictions on setting NUMA on x86 to see if

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:04), KOSAKI Motohiro didst pronounce: Hi mel Hi A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:04), KOSAKI Motohiro didst pronounce: Hi mel Hi A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (22/01/08 14:33), Andi Kleen didst pronounce: Without SRAT support, a compile-error occurs because ACPI table parsing functions are only available in x86-64. This patch also adds no-op stubs and prints a warning message. What likely needs to be done is sharing the table parsing

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Andi Kleen
i386 already has srat parsing code (just written in a horrible hackish way); but it exists arch/x86/kernel/srat_32.c Yes, I spotted that. Enabling it required a Kconfig change does it? I was pretty sure that a !NUMAQ i386 CONFIG_NUMA build already used that. At least that was the case

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Mel Gorman
On (23/01/08 11:45), Andi Kleen didst pronounce: i386 already has srat parsing code (just written in a horrible hackish way); but it exists arch/x86/kernel/srat_32.c Yes, I spotted that. Enabling it required a Kconfig change does it? hmm, just a removal of (X86_SUMMIT ||

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread Andi Kleen
I was pretty sure that a !NUMAQ i386 CONFIG_NUMA build already used that. Presumably a GENERICARCH configuration GENERICARCH includes SUMMIT so yes. At least that was the case when I last looked. If that has changed it must have bitrotted recently. I don't think it has bit-rotted. I

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Andi Kleen
Anyways from your earlier comments it sounds like you're trying to add SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the old implementation it doesn't sound like a very useful thing to do. But the patch is applied already i think. Well I'm sure it passed checkpatch.pl at least.

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Mel Gorman
On (23/01/08 12:15), Andi Kleen didst pronounce: Anyways from your earlier comments it sounds like you're trying to add SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the old implementation it doesn't sound like a very useful thing to do. No, that would not be useful at all as

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Andi Kleen
On Wednesday 23 January 2008 12:24:36 Mel Gorman wrote: On (23/01/08 12:15), Andi Kleen didst pronounce: Anyways from your earlier comments it sounds like you're trying to add SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the old implementation it doesn't sound like a very

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86 II

2008-01-23 Thread Mel Gorman
On (23/01/08 14:48), Andi Kleen didst pronounce: On Wednesday 23 January 2008 12:24:36 Mel Gorman wrote: On (23/01/08 12:15), Andi Kleen didst pronounce: Anyways from your earlier comments it sounds like you're trying to add SRAT parsing to CONFIG_NUMAQ. Since that's redundant with the

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-23 Thread KOSAKI Motohiro
Hi To rule it out, can you also try with the patch below applied please? It should only make a difference on sparsemem so if discontigmem is still crashing, there is likely another problem. Assuming it crashes, Aaah, sorry. I can't test again until next week. I repost at that time...

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread KOSAKI Motohiro
Hi mel > Hi > > > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > > at the restrictions on setting NUMA on x86 to see if they could be lifted. > > Interesting! > > I will test tomorrow.

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Andi Kleen
> Without SRAT support, a compile-error occurs because ACPI table parsing > functions are only available in x86-64. This patch also adds no-op stubs > and prints a warning message. What likely needs to be done is sharing > the table parsing functions between 32 and 64 bit if they are >

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Ingo Molnar
* Mel Gorman <[EMAIL PROTECTED]> wrote: > Sorry, there was a screwup on my behalf. The version I sent still had > a stray static inline in it. It will fail to compile without this. ok, picked up that fix too, thanks. Ingo -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Mel Gorman
On (22/01/08 13:14), Ingo Molnar didst pronounce: > > * Mel Gorman <[EMAIL PROTECTED]> wrote: > > > [...] I tested this situation on a 4-node NUMA Opteron box. It didn't > > work very well based on a few problems. > > > > - alloc_remap() and SPARSEMEM on HIGHMEM4G explodes [1] > > - Without

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Ingo Molnar
* Mel Gorman <[EMAIL PROTECTED]> wrote: > [...] I tested this situation on a 4-node NUMA Opteron box. It didn't > work very well based on a few problems. > > - alloc_remap() and SPARSEMEM on HIGHMEM4G explodes [1] > - Without SRAT, there is a build failure > - Enabling SRAT requires

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Ingo Molnar
* Mel Gorman [EMAIL PROTECTED] wrote: [...] I tested this situation on a 4-node NUMA Opteron box. It didn't work very well based on a few problems. - alloc_remap() and SPARSEMEM on HIGHMEM4G explodes [1] - Without SRAT, there is a build failure - Enabling SRAT requires BOOT_IOREMAP and

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Mel Gorman
On (22/01/08 13:14), Ingo Molnar didst pronounce: * Mel Gorman [EMAIL PROTECTED] wrote: [...] I tested this situation on a 4-node NUMA Opteron box. It didn't work very well based on a few problems. - alloc_remap() and SPARSEMEM on HIGHMEM4G explodes [1] - Without SRAT, there is a

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Ingo Molnar
* Mel Gorman [EMAIL PROTECTED] wrote: Sorry, there was a screwup on my behalf. The version I sent still had a stray static inline in it. It will fail to compile without this. ok, picked up that fix too, thanks. Ingo -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread Andi Kleen
Without SRAT support, a compile-error occurs because ACPI table parsing functions are only available in x86-64. This patch also adds no-op stubs and prints a warning message. What likely needs to be done is sharing the table parsing functions between 32 and 64 bit if they are compatible.

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-22 Thread KOSAKI Motohiro
Hi mel Hi A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted. Interesting! I will test tomorrow. Hmm... It

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Mel Gorman
On (21/01/08 15:49), Ingo Molnar didst pronounce: > > * Mel Gorman <[EMAIL PROTECTED]> wrote: > > > > I think this patch become easy to the porting of fakenuma. > > > > It would be great if that was available, particularly if it could fake > > memoryless nodes as that is a place where we've

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Ingo Molnar
* Mel Gorman <[EMAIL PROTECTED]> wrote: > > I think this patch become easy to the porting of fakenuma. > > It would be great if that was available, particularly if it could fake > memoryless nodes as that is a place where we've found a few > difficult-to-reproduce bugs. yeah. Your previous

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Mel Gorman
On (21/01/08 09:38), KOSAKI Motohiro didst pronounce: > Hi > > > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > > at the restrictions on setting NUMA on x86 to see if they could be lifted. >

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Mel Gorman
On (21/01/08 09:38), KOSAKI Motohiro didst pronounce: Hi A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted.

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Ingo Molnar
* Mel Gorman [EMAIL PROTECTED] wrote: I think this patch become easy to the porting of fakenuma. It would be great if that was available, particularly if it could fake memoryless nodes as that is a place where we've found a few difficult-to-reproduce bugs. yeah. Your previous patch

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-21 Thread Mel Gorman
On (21/01/08 15:49), Ingo Molnar didst pronounce: * Mel Gorman [EMAIL PROTECTED] wrote: I think this patch become easy to the porting of fakenuma. It would be great if that was available, particularly if it could fake memoryless nodes as that is a place where we've found a few

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-20 Thread KOSAKI Motohiro
Hi > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > at the restrictions on setting NUMA on x86 to see if they could be lifted. Interesting! I will test tomorrow. I think this patch become

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-20 Thread KOSAKI Motohiro
Hi A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted. Interesting! I will test tomorrow. I think this patch become easy

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-19 Thread Mel Gorman
On (19/01/08 07:35), Andi Kleen didst pronounce: > Mel Gorman <[EMAIL PROTECTED]> writes: > > > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > > at the restrictions on setting NUMA on x86 to

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-19 Thread Mel Gorman
On (19/01/08 07:35), Andi Kleen didst pronounce: Mel Gorman [EMAIL PROTECTED] writes: A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-18 Thread Andi Kleen
Mel Gorman <[EMAIL PROTECTED]> writes: > A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot > on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look > at the restrictions on setting NUMA on x86 to see if they could be lifted. The problem with i386

[PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-18 Thread Mel Gorman
A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted. The following two patches remove the restrictions on pagetable layout and

[PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-18 Thread Mel Gorman
A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted. The following two patches remove the restrictions on pagetable layout and

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-18 Thread Andi Kleen
Mel Gorman [EMAIL PROTECTED] writes: A fix[1] was merged to the x86.git tree that allowed NUMA kernels to boot on normal x86 machines (and not just NUMA-Q, Summit etc.). I took a look at the restrictions on setting NUMA on x86 to see if they could be lifted. The problem with i386 CONFIG_NUMA