lkml.org 
[lkml]   [2007]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] slab: cache_grow cleanup
    Hi Andrew,

    On 1/9/07, Pekka J Enberg <penberg@cs.helsinki.fi> wrote:
    > From: Pekka Enberg <penberg@cs.helsinki.fi>
    >
    > The current implementation of cache_grow() has to either (1) use pre-allocated
    > memory for the slab or (2) allocate the memory itself which makes the error
    > paths messy. Move __GFP_NO_GROW and __GFP_WAIT processing to kmem_getpages()
    > and introduce a new __cache_grow() variant that expects the memory for a new
    > slab to always be handed over in the 'objp' parameter.
    >
    > Cc: Hugh Dickins <hugh@veritas.com>
    > Cc: Christoph Lameter <clameter@sgi.com>
    > Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>

    Can we get this into -mm, please?
    -
    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-01-12 10:59    [W:0.023 / U:0.176 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site