RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]