Messages in this thread | | | From | Daniel Sanders <> | Subject | RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node. | Date | Tue, 3 Feb 2015 16:00:43 +0000 |
| |
> -----Original Message----- > From: Christoph Lameter [mailto:cl@linux.com] > Sent: 03 February 2015 15:15 > To: Daniel Sanders > Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux- > mm@kvack.org; linux-kernel@vger.kernel.org > 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.
| |