Messages in this thread | | | Date | Wed, 13 May 2009 10:00:10 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] x86: fix system without memory on node0 |
| |
> +#if defined(CONFIG_X86_64) && defined(CONFIG_NUMA) > + /* > + * make sure boot cpu node_number is right, when boot cpu is on the > + * node that doesn't have mem installed > + */ > + per_cpu(node_number, boot_cpu_id) = cpu_to_node(boot_cpu_id); > +#endif
Seems like a quite crappy hac^wpatch. Why is it ever set to the wrong value? And why is that only the case on NUMA and 64bit?
-Andi (who is also doubtful that the rest of the system can handle memory less memory nodes in all cases)
-- ak@linux.intel.com -- Speaking for myself only.
| |