[lkml]   [2011]   [Dec]   [13]   [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()
    On Tue, 13 Dec 2011, Eric Dumazet wrote:

    > We can be interrupted and the IRQ handler can free an object an populate
    > freelist too. So the check must always be done.

    True. So a small memory leak that remained undetected. Hmm.... Wonder how
    one can create some diagnostics to allow detection of this in the future.

    Acked-by: Christoph Lameter <>

     \ /
      Last update: 2011-12-13 17:31    [W:0.024 / U:71.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site