Messages in this thread Patch in this message | | | Date | Wed, 6 Jul 2005 09:55:21 +1000 | From | Anton Blanchard <> | Subject | Re: slab not freeing with current -git |
| |
> 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 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/
| |