lkml.org 
[lkml]   [2009]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-05-13 09:57    [W:0.116 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site