Mercurial > illumos > illumos-gate
changeset 9923:0641efc19829
6850943 Dell T610, M710, and R710 panic with too many lgroups
author | Jonathan Chew <jonathan.chew@sun.com> |
---|---|
date | Sun, 21 Jun 2009 19:43:03 -0700 |
parents | bac6a4442a68 |
children | 12dcb38be601 |
files | usr/src/uts/i86pc/os/lgrpplat.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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); }