* [PATCH 1/4] print out node_data addr and bootmap_start addr [not found] <200801291041.10490.yinghai.lu@sun.com> @ 2008-01-29 19:13 ` Yinghai Lu 2008-01-31 13:09 ` Ingo Molnar 0 siblings, 1 reply; 3+ messages in thread From: Yinghai Lu @ 2008-01-29 19:13 UTC (permalink / raw) To: Ingo Molnar; +Cc: Andi Kleen, Christoph Lameter, Andrew Morton, linux-kernel [PATCH 1/4] print out node_data addr and bootmap_start addr Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Index: linux-2.6/arch/x86/mm/numa_64.c =================================================================== --- linux-2.6.orig/arch/x86/mm/numa_64.c +++ linux-2.6/arch/x86/mm/numa_64.c @@ -202,6 +202,8 @@ void __init setup_node_bootmem(int nodei if (node_data[nodeid] == NULL) return; nodedata_phys = __pa(node_data[nodeid]); + printk(KERN_INFO " NODE_DATA [%016lx - %016lx]\n", nodedata_phys, + nodedata_phys + pgdat_size - 1); memset(NODE_DATA(nodeid), 0, sizeof(pg_data_t)); NODE_DATA(nodeid)->bdata = &plat_node_bdata[nodeid]; @@ -221,12 +223,15 @@ void __init setup_node_bootmem(int nodei return; } bootmap_start = __pa(bootmap); - Dprintk("bootmap start %lu pages %lu\n", bootmap_start, bootmap_pages); bootmap_size = init_bootmem_node(NODE_DATA(nodeid), bootmap_start >> PAGE_SHIFT, start_pfn, end_pfn); + printk(KERN_INFO " bootmap [%016lx - %016lx] pages %lx\n", + bootmap_start, bootmap_start + bootmap_size - 1, + bootmap_pages); + free_bootmem_with_active_regions(nodeid, end); reserve_bootmem_node(NODE_DATA(nodeid), nodedata_phys, pgdat_size); ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] print out node_data addr and bootmap_start addr 2008-01-29 19:13 ` [PATCH 1/4] print out node_data addr and bootmap_start addr Yinghai Lu @ 2008-01-31 13:09 ` Ingo Molnar 2008-01-31 18:53 ` Yinghai Lu 0 siblings, 1 reply; 3+ messages in thread From: Ingo Molnar @ 2008-01-31 13:09 UTC (permalink / raw) To: Yinghai Lu; +Cc: Andi Kleen, Christoph Lameter, Andrew Morton, linux-kernel * Yinghai Lu <Yinghai.Lu@Sun.COM> wrote: > [PATCH 1/4] print out node_data addr and bootmap_start addr thanks, applied. > nodedata_phys = __pa(node_data[nodeid]); > + printk(KERN_INFO " NODE_DATA [%016lx - %016lx]\n", nodedata_phys, > + nodedata_phys + pgdat_size - 1); > + printk(KERN_INFO " bootmap [%016lx - %016lx] pages %lx\n", > + bootmap_start, bootmap_start + bootmap_size - 1, > + bootmap_pages); did this help you find the bootmap alignment bug crash? Ingo ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] print out node_data addr and bootmap_start addr 2008-01-31 13:09 ` Ingo Molnar @ 2008-01-31 18:53 ` Yinghai Lu 0 siblings, 0 replies; 3+ messages in thread From: Yinghai Lu @ 2008-01-31 18:53 UTC (permalink / raw) To: Ingo Molnar; +Cc: Andi Kleen, Christoph Lameter, Andrew Morton, linux-kernel On Thursday 31 January 2008 05:09:19 am Ingo Molnar wrote: > > * Yinghai Lu <Yinghai.Lu@Sun.COM> wrote: > > > [PATCH 1/4] print out node_data addr and bootmap_start addr > > thanks, applied. > > > nodedata_phys = __pa(node_data[nodeid]); > > + printk(KERN_INFO " NODE_DATA [%016lx - %016lx]\n", nodedata_phys, > > + nodedata_phys + pgdat_size - 1); > > > + printk(KERN_INFO " bootmap [%016lx - %016lx] pages %lx\n", > > + bootmap_start, bootmap_start + bootmap_size - 1, > > + bootmap_pages); > > did this help you find the bootmap alignment bug crash? yes. YH ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-31 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200801291041.10490.yinghai.lu@sun.com>
2008-01-29 19:13 ` [PATCH 1/4] print out node_data addr and bootmap_start addr Yinghai Lu
2008-01-31 13:09 ` Ingo Molnar
2008-01-31 18:53 ` Yinghai Lu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®