lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] SLAB : Dont allocate empty shared caches
    On 3/21/07, Eric Dumazet <dada1@cosmosbay.com> wrote:
    > We can avoid allocating empty shared caches and avoid unecessary check of
    > cache->limit. We save some memory. We avoid bringing into CPU cache unecessary
    > cache lines.
    >
    > All accesses to l3->shared are already checking NULL pointers so this patch is
    > safe.

    Looks good to me.

    Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
    -
    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: 2007-03-21 14:15    [W:0.024 / U:30.632 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site