lkml.org 
[lkml]   [2026]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] slab: decouple pointer to barn from kmem_cache_node
On Wed, 11 Mar 2026, Vlastimil Babka (SUSE) wrote:

> The pointer to barn currently exists in struct kmem_cache_node. That
> struct is instantiated for every NUMA node with memory, but we want to
> have a barn for every online node (including memoryless).

Is this breaking the 1-1 association of kmem_cache to numa
nodes? I would think you needd local per cpu queues on a memoryless node
for performance but not fake node structures. Per node access is already
serialized via locks and therefore slow.

If you break the association of per cpu queues to cpu and kmem_cache_node
to numa_nodes then the code may get complicated.

\
 
 \ /
  Last update: 2026-04-10 12:26    [W:0.199 / U:62.901 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog