[PATCH] boot failures on numa if no memory on node
Anton Blanchard
anton at samba.org
Thu Dec 8 08:01:31 EST 2005
Hi,
Thanks Mike, that stupid bug was my fault. Looks good.
Anton
> This bug exists in the current code and prevents machines from booting
> with numa enabled if there is a node that does not contain memory.
> Workaround is to boot with 'numa=off'. Looks like a simple type.
>
> Signed-off-by: Mike Kravetz <kravetz at us.ibm.com>
>
> diff -Naupr linux-2.6.15-rc5-git1/arch/powerpc/mm/numa.c linux-2.6.15-rc5-git1.work/arch/powerpc/mm/numa.c
> --- linux-2.6.15-rc5-git1/arch/powerpc/mm/numa.c 2005-12-04 05:10:42.000000000 +0000
> +++ linux-2.6.15-rc5-git1.work/arch/powerpc/mm/numa.c 2005-12-07 20:49:23.000000000 +0000
> @@ -125,7 +125,7 @@ void __init get_region(unsigned int nid,
>
> /* We didnt find a matching region, return start/end as 0 */
> if (*start_pfn == -1UL)
> - start_pfn = 0;
> + *start_pfn = 0;
> }
>
> static inline void map_cpu_to_node(int cpu, int node)
More information about the Linuxppc64-dev
mailing list