On Mon, 2005-02-21 at 12:39, Dave Hansen wrote: > On Mon, 2005-02-21 at 12:17 -0800, keith wrote: > > Attach is a patch that allows a i386 numa based system to boot without > > memory in a node. It deals with the assumption that all nodes have > > memory. > > The diff is backwards :) Opps! See new attached patch :) > > > - if (node_memory_chunk[j].start_pfn >= max_pfn) > > { > > - printk ("Ignoring chunk of memory > > reported in the SRAT (could be hot-add zone?)\n"); > > - continue; > > - } > > Could you print out the memory ranges, or sizes here? Also, please add > a KERN_* level to it. We might not want this unless the user has booted > with "debug". Done. > > > + if (node_has_online_mem(nid)){ > > + if (start > low) { > > Instead of indenting another level, can you just put a continue in the > loop? I think it makes it much easier to read. I cannot put a continue here. I know it makes ugly code worse but we have to call free area_init_node in all cases. Keith Mannthey LTC xSeries