Re: [PATCH] topology for ia64

David Mosberger (davidm@napali.hpl.hp.com)
Mon, 21 Oct 2002 17:07:30 -0700


>>>>> On Sat, 5 Oct 2002 19:04:22 +0200, Erich Focht <efocht@ess.nec.de> said:

Erich> Hi David, please find attached a first attempt to implement
Erich> the topology.h macros/routines for IA64. We need this for the
Erich> NUMA scheduler setup.

Why does the cpu_to_node_map[] exist for non-NUMA configurations? It
seems to me that it would be better to make cpu_to_node_map a macro
that uses an array-check for NUMA configurations and a simple test
against phys_cpu_present_map() for non-NUMA.

--david
-
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/