[Cbe-oss-dev] [Lhms-devel] Subject: [RFC] spufs: memory-add fix for CONFIG_NUMA

Mike Kravetz kravetz at us.ibm.com
Wed Apr 12 07:05:25 EST 2006


On Tue, Apr 11, 2006 at 01:55:27PM -0700, Dave Hansen wrote:
> On Tue, 2006-04-11 at 18:26 +0200, Arnd Bergmann wrote:
> > Unfortunately, the memory hot-add code is currently a little
> > broken (tries to do bootmem_alloc and kmalloc from the
> > same function), 
> 
> Why is this broken?

I think the real issue is that sparse_index_alloc() is called
as part of a memory add operation (after boot).  And, we are
using alloc_bootmem_node() to allocate the new indexes.

-- 
Mike



More information about the cbe-oss-dev mailing list