Re: [Slub allocator] There are chances that kmem_cache_cpu->freelistgets lost if the process happens to be rescheduled to a differenet cpu beforethe local_irq_save() completes in __slab_alloc()

From: Christoph Lameter
Date: Mon Dec 12 2011 - 13:53:50 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/