lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: 2.6.15-rc5-rt4 and CONFIG_SLAB=y : structure has no member named `nodeid'
    Date
    mercredi 21 Décembre 2005 10:45, Serge Noiraud wrote/a écrit :
    > Hi,
    >
    > testing on i386, I get the following error :
    > ...
    > CC mm/slab.o
    > mm/slab.c: In function `cache_alloc_refill':
    > mm/slab.c:2093: error: structure has no member named `nodeid'
    > mm/slab.c: In function `free_block':
    > mm/slab.c:2239: error: structure has no member named `nodeid'
    > mm/slab.c:2239: error: `node' undeclared (first use in this function)
    > mm/slab.c:2239: error: (Each undeclared identifier is reported only once
    > mm/slab.c:2239: error: for each function it appears in.)
    > make[4]: *** [mm/slab.o] Erreur 1
    > ...
    >
    > You removed nodeid in the slab struct, but many functions use it.
    >
    I get the same problem with 2.6.15-rt1
    The following patch suppress the error : I'm not sure it's the good correction.
    perhaps we should supress this DEBUG test ?

    --- linux.orig/mm/slab.c
    +++ linux/mm/slab.c
    @@ -2090,7 +2090,6 @@
    next = slab_bufctl(slabp)[slabp->free];
    #if DEBUG
    slab_bufctl(slabp)[slabp->free] = BUFCTL_FREE;
    - WARN_ON(numa_node_id() != slabp->nodeid);
    #endif
    slabp->free = next;
    }
    check_slabp(cachep, slabp);


    -
    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: 2006-01-05 11:08    [W:0.021 / U:152.936 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site