lkml.org 
[lkml]   [2005]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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)
    #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/
    \
     
     \ /
      Last update: 2005-07-06 02:05    [W:0.022 / U:1.320 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site