[lkml]   [2011]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Slub allocator] There are chances that kmem_cache_cpu->freelist gets lost if the process happens to be rescheduled to a differenet cpu before the local_irq_save() completes in __slab_alloc()
    Le lundi 12 décembre 2011 à 12:53 -0600, Christoph Lameter a écrit :
    > On Mon, 12 Dec 2011, Eric Dumazet wrote:
    > > Indeed, I reproduced the leak with hackbench and lot of threads.
    > Ran it here and did not see anything. But obviously this is an issue.
    > Strange that no one noticed earlier. Usage of CONFIG_PREEMPT must not be
    > that frequent.

    Yes, probably :(

    All I did was using hackbench with 4000 threads on my 16 cpu machine,

    while :; do hackbench 100 process 2000 ; done

    I got about one leak (freelist chain, so several objects leaked) per

    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: 2011-12-12 20:33    [W:0.029 / U:104.940 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site