[lkml]   [2007]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] slub: fix leakage
    On Sat, 3 Nov 2007, Hugh Dickins wrote:

    > The culprit turns out to be __slab_alloc(), where it copes with the race
    > that another task has assigned the cpu slab while we were allocating one.
    > Don't rush off to load_freelist there: that assumes c->freelist is empty,
    > and will lose all of its free slots when c->page->freelist is not empty.
    > Instead just do a local allocation from c->freelist when it has one.

    Hmmm.. Right. This will require some fixes to the optimizations in mm.

    Acked-by: Christoph Lameter <>
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-11-03 19:33    [W:0.018 / U:13.424 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site