Re: [RT LATENCY] 249 microsecond latency caused by slub'sunfreeze_partials() code.

From: Christoph Lameter
Date: Wed Jun 05 2013 - 10:09:27 EST


On Wed, 5 Jun 2013, JoonSoo Kim wrote:

> @@ -2495,7 +2495,8 @@ static void __slab_free(struct kmem_cache *s,
> struct page *page,
> new.inuse--;
> if ((!new.inuse || !prior) && !was_frozen) {
>
> - if (!kmem_cache_debug(s) && !prior)
> + if (!kmem_cache_debug(s) && !prior &&
> + node_match(page,
> cpu_to_node(smp_processor_id())))
>

Would increase the overhead of the free path. cpu_to_node? Use
numa_node_id().
--
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/