lkml.org 
[lkml]   [2013]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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().


\
 
 \ /
  Last update: 2013-06-05 16:43    [W:0.070 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site