Revision ea0e5418 vl.c
b/vl.c | ||
---|---|---|
3129 | 3129 |
if (nb_numa_nodes > 0) { |
3130 | 3130 |
int i; |
3131 | 3131 |
|
3132 |
if (nb_numa_nodes > smp_cpus) {
|
|
3133 |
nb_numa_nodes = smp_cpus;
|
|
3132 |
if (nb_numa_nodes > MAX_NODES) {
|
|
3133 |
nb_numa_nodes = MAX_NODES;
|
|
3134 | 3134 |
} |
3135 | 3135 |
|
3136 | 3136 |
/* If no memory size if given for any node, assume the default case |
Also available in: Unified diff