[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ia64
Subject:    [PATCH] bring ia64 nodes online properly
From:       Jesse Barnes <jbarnes () sgi ! com>
Date:       2004-04-01 21:28:12
Message-ID: 200404011328.12544.jbarnes () sgi ! com
[Download RAW message or body]

Andi's libnuma exposed the fact that we don't bring nodes online properly as 
we discover them in ia64.  Here's a quick patch to fix that.  Tested with 
Andi's numademo program; seems to work fine.

Jesse

["node-set-online.patch" (text/plain)]

===== arch/ia64/kernel/acpi.c 1.65 vs edited =====
--- 1.65/arch/ia64/kernel/acpi.c	Sat Mar 20 21:28:40 2004
+++ edited/arch/ia64/kernel/acpi.c	Thu Apr  1 13:20:58 2004
@@ -455,6 +455,7 @@
 	for (i = 0; i < MAX_PXM_DOMAINS; i++) {
 		if (pxm_bit_test(i)) {
 			pxm_to_nid_map[i] = numnodes;
+			node_set_online(numnodes);
 			nid_to_pxm_map[numnodes++] = i;
 		}
 	}

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic