]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: ia64: dynamic nr online cpus
authorJes Sorensen <jes@sgi.com>
Wed, 21 Jan 2009 14:16:43 +0000 (15:16 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:07 +0000 (11:03 +0200)
Account for number of online cpus and use that in loops iterating over
the list of vpus instead of scanning the full array unconditionally.
This patch is a building block to facilitate allowing to bump up
the size of MAX_VCPUS significantly.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by : Xiantao Zhang  <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found