From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753980AbYFAURj (ORCPT ); Sun, 1 Jun 2008 16:17:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751588AbYFAURb (ORCPT ); Sun, 1 Jun 2008 16:17:31 -0400 Received: from rv-out-0506.google.com ([209.85.198.236]:36544 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbYFAURa (ORCPT ); Sun, 1 Jun 2008 16:17:30 -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=cMsBSY34GGbjieRhLDFvbcbmA60vATUI9T4WN+OPcFpGLiJfaHgmpNOJnJFMvdRVFJ6PgFkFQoIcJ3CqdNtTZNy1POYQf6cJ9lXXdu1bIFjme6UMC2xELuhlyKlqqiLGEHkmMblO5EP5GKumbJlEts/YkFpNfWP6nGdeFBzDn/g= 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 v2 Date: Sun, 1 Jun 2008 13:15:22 -0700 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "linux-kernel@vger.kernel.org" References: <200805110030.15510.yhlu.kernel@gmail.com> <200805312253.47939.yhlu.kernel@gmail.com> <200805312256.12584.yhlu.kernel@gmail.com> In-Reply-To: <200805312256.12584.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: <200806011315.23013.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 v2: fix non numa flat compling 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); +#endif free_area_init_core(pgdat, zones_size, zholes_size); }