On Thu, Mar 22, 2007 at 06:25:16PM -0700, Christoph Lameter wrote: > On Thu, 22 Mar 2007, Siddha, Suresh B wrote: > > > > You should check num_possible_nodes(), or nr_node_ids (this one is > > > cheaper, > > > its a variable instead of a function call) > > > > But that is based on compile time option, isn't it? Perhaps I need > > to use some other mechanism to find out the platform is not NUMA capable.. > > No its runtime.
I don't see any code that would ever change the mask from the compile default. But that is easy to fix. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/