[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1112132211350.1675@tux.localdomain>
Date: Tue, 13 Dec 2011 22:11:58 +0200 (EET)
From: Pekka Enberg <penberg@...nel.org>
To: Christoph Lameter <cl@...ux.com>
cc: Eric Dumazet <eric.dumazet@...il.com>,
zhihua che <zhihua.che@...il.com>,
linux-kernel@...r.kernel.org, Pekka Enberg <penberg@...helsinki.fi>
Subject: Re: [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.
On Tue, 13 Dec 2011, Christoph Lameter wrote:
> 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 <cl@...ux.com>
I queued this for 3.3. Thanks guys!
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists