RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.
From: Daniel Sanders
Date: Tue Feb 03 2015 - 11:01:00 EST
> -----Original Message-----
> From: Christoph Lameter [mailto:cl@xxxxxxxxx]
> Sent: 03 February 2015 15:15
> To: Daniel Sanders
> Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux-
> mm@xxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 1/5] LLVMLinux: Correct size_index table before
> replacing the bootstrap kmem_cache_node.
>
> On Tue, 3 Feb 2015, Daniel Sanders wrote:
>
> > +++ b/mm/slab.c
> > @@ -1440,6 +1440,7 @@ void __init kmem_cache_init(void)
> > kmalloc_caches[INDEX_NODE] = create_kmalloc_cache("kmalloc-
> node",
> > kmalloc_size(INDEX_NODE),
> ARCH_KMALLOC_FLAGS);
> > slab_state = PARTIAL_NODE;
> > + correct_kmalloc_cache_index_table();
>
> Lets call this
>
> setup_kmalloc_cache_index_table
>
> Please?
Sure, I've made the change in my repo. I'll wait a bit before re-sending the patch in case others have feedback too.
--
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/