lkml.org 
[lkml]   [2011]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 <cl@linux.com>


\
 
 \ /
  Last update: 2011-12-13 17:31    [from the cache]
©2003-2011 Jasper Spaans