Re: [PATCH] slub: prefetch next freelist pointer in slab_alloc()

From: Christoph Lameter
Date: Fri Dec 16 2011 - 11:32:01 EST


On Fri, 16 Dec 2011, Eric Dumazet wrote:

> Recycling a page is a problem, since freelist link chain is hot on
> cpu(s) which freed objects, and possibly very cold on cpu currently
> owning slab.

Good idea. How do the tcp benchmarks look after this?

Looks sane.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>
--
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/