From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756405AbYFAF6N (ORCPT ); Sun, 1 Jun 2008 01:58:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751778AbYFAF5G (ORCPT ); Sun, 1 Jun 2008 01:57:06 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:9694 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751497AbYFAF5E (ORCPT ); Sun, 1 Jun 2008 01:57:04 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=AIoqWT8hDG2BbSJncapWT3URi8TPvOU6NntRFarr5v+8b/dVq4YQJ/hnucnvw6AQ5swYuW+adCcufXxc9TFVYEcvvU1pJxP4AdB5Jju45ULpjyoJKONElR/luM1jMi16pmbxv5ICKCsF4+JD9017lXPH43A832YL79kKjCmkfjg= From: Yinghai Lu Reply-To: Yinghai Lu To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton Subject: [PATCH] x86: numa_32 print out debug info all kva Date: Sat, 31 May 2008 22:56:12 -0700 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "linux-kernel@vger.kernel.org" References: <200805110030.15510.yhlu.kernel@gmail.com> <200805312252.47727.yhlu.kernel@gmail.com> <200805312253.47939.yhlu.kernel@gmail.com> In-Reply-To: <200805312253.47939.yhlu.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805312256.12584.yhlu.kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org also fix the print out of node_remap_end_vaddr Signed-off-by: Yinghai Lu Index: linux-2.6/arch/x86/mm/discontig_32.c =================================================================== --- linux-2.6.orig/arch/x86/mm/discontig_32.c +++ linux-2.6/arch/x86/mm/discontig_32.c @@ -168,6 +168,8 @@ static void __init allocate_pgdat(int ni reserve_early(pgdat_phys, pgdat_phys + sizeof(pg_data_t), "NODE_DATA"); } + printk(KERN_DEBUG "allocate_pgdat: node %d NODE_DATA %08lx\n", + nid, (unsigned long)NODE_DATA(nid)); } /* @@ -205,8 +207,12 @@ void __init remap_numa_kva(void) int node; for_each_online_node(node) { + printk(KERN_DEBUG "remap_numa_kva: node %d\n", node); for (pfn=0; pfn < node_remap_size[node]; pfn += PTRS_PER_PTE) { vaddr = node_remap_start_vaddr[node]+(pfn<node_mem_map); free_area_init_core(pgdat, zones_size, zholes_size); }