lkml.org 
[lkml]   [2005]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 !NUMA node_to_cpumask broken in early boot
On Thu, Aug 18, 2005 at 08:07:53PM -0600, Zwane Mwaikambo wrote:
> node_to_cpumask on non NUMA systems is broken if used before all the
> processors have been brought up as it returns cpu_online_map, as opposed
> to NUMA i386 systems which does it earlier than AP bringup. So return
> which processors responded via cpu_present_map and switch to
> cpu_online_map during normal runtime. This was found whilst testing a
> patch which does node dependent work before APs have all gone online.

Very ugly and will probably cause code bloat.

If anything define a special early_node_to ... function for this.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-19 04:18    [W:0.083 / U:0.352 seconds]
©2003-2014 Jasper Spaans. Advertise on this site