Re: [PATCH] topology for ia64

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Mon Oct 21 2002 - 19:07:30 EST


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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:56 EST