# HG changeset patch # User Jonathan Chew # Date 1245638583 25200 # Node ID 0641efc198297da8246e9f5df3b54076877cc93d # Parent bac6a4442a682cbba0535085b16088a781d9e95d 6850943 Dell T610, M710, and R710 panic with too many lgroups diff -r bac6a4442a68 -r 0641efc19829 usr/src/uts/i86pc/os/lgrpplat.c --- a/usr/src/uts/i86pc/os/lgrpplat.c Sun Jun 21 10:17:20 2009 +0800 +++ b/usr/src/uts/i86pc/os/lgrpplat.c Sun Jun 21 19:43:03 2009 -0700 @@ -117,7 +117,7 @@ * system expects the memnodes which describe the physical address range for * each NUMA node to be arranged in ascending order by physical address. (:-( * Otherwise, the kernel will panic in different semi-random places in the VM - * system (see CR#6816963). + * system. * * Consequently, this module has to try to sort the nodes in ascending order by * each node's starting physical address to try to meet this "constraint" in @@ -1384,7 +1384,7 @@ if (node_domain[node].prox_domain == domain && node_domain[node].exists) return (node); - node = NODE_DOMAIN_HASH(node + 1, node_cnt); + node = (node + 1) % node_cnt; } while (node != start); return (-1); }