> What does pcibus_to_node return for the pcibus device that you are trying
> to allocate for?
Its using the default. Looking at include/asm-generic/topology.h:
#ifndef pcibus_to_node
#define pcibus_to_node(node) (-1)
#endif
I wonder what kmalloc_node does when you pass it -1.
Anton
Index: foobar2/include/asm-generic/topology.h
===================================================================
--- foobar2.orig/include/asm-generic/topology.h 2005-07-02 15:56:13.000000000 +1000
+++ foobar2/include/asm-generic/topology.h 2005-07-06 09:39:51.364361274 +1000
@@ -42,7 +42,7 @@
#define node_to_first_cpu(node) (0)
#endif
#ifndef pcibus_to_node
-#define pcibus_to_node(node) (-1)
+#define pcibus_to_node(node) (0)
#endif
#ifndef pcibus_to_cpumask
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|