Messages in this thread | | | Date | Fri, 19 Aug 2005 04:12:16 +0200 | From | Andi Kleen <> | Subject | Re: [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/
| |