* [PATCH] numa: Don't limit node count by smp count
@ 2011-03-29 0:56 Sasha Levin
2011-03-30 10:39 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2011-03-29 0:56 UTC (permalink / raw)
To: kvm
It is possible to create CPU-less NUMA nodes, node amount shouldn't be
limited by amount of CPUs.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
---
vl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index 8bcf2ae..8cc1aa8 100644
--- a/vl.c
+++ b/vl.c
@@ -3002,8 +3002,8 @@ int main(int argc, char **argv, char **envp)
if (nb_numa_nodes > 0) {
int i;
- if (nb_numa_nodes > smp_cpus) {
- nb_numa_nodes = smp_cpus;
+ if (nb_numa_nodes > MAX_NODES) {
+ nb_numa_nodes = MAX_NODES;
}
/* If no memory size if given for any node, assume the default
case
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] numa: Don't limit node count by smp count
2011-03-29 0:56 [PATCH] numa: Don't limit node count by smp count Sasha Levin
@ 2011-03-30 10:39 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-03-30 10:39 UTC (permalink / raw)
To: Sasha Levin; +Cc: kvm
On 03/29/2011 02:56 AM, Sasha Levin wrote:
> It is possible to create CPU-less NUMA nodes, node amount shouldn't be
> limited by amount of CPUs.
Patch seems fine; but please send to qemu-devel@nongnu.org.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-30 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 0:56 [PATCH] numa: Don't limit node count by smp count Sasha Levin
2011-03-30 10:39 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox