lkml.org 
[lkml]   [2007]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 04/10] SLUB: Avoid checking for a valid object before zeroing on the fast path
    On Sat, 27 Oct 2007, Christoph Lameter wrote:
    > The fast path always results in a valid object. Move the check
    > for the NULL pointer to the slow branch that calls
    > __slab_alloc. Only __slab_alloc can return NULL if there is no
    > memory available anymore and that case is exceedingly rare.

    Reviewed-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-10-28 14:13    [W:0.018 / U:31.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site