[lkml]   [2005]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 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)

I wonder what kmalloc_node does when you pass it -1.


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)
#ifndef pcibus_to_node
-#define pcibus_to_node(node) (-1)
+#define pcibus_to_node(node) (0)

#ifndef pcibus_to_cpumask
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-07-06 02:05    [from the cache]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site