Messages in this thread | | | Date | Wed, 5 Jun 2013 14:09:21 +0000 | From | Christoph Lameter <> | Subject | Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code. |
| |
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().
| |