summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 12:24:33 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:38:04 +0300
commit032c3407310c7612db55ab7e1335a21dc2b4690d (patch)
tree34235b63019986c9d6e49452ef289c6432d59417 /tools
parent964b6411af10fbddc827fdd3887c49f7f5d2bfd3 (diff)
KVM: PPC: Allocate vcpu struct using vmalloc
We used to use get_free_pages to allocate our vcpu struct. Unfortunately that call failed on me several times after my machine had a big enough uptime, as memory became too fragmented by then. Fortunately, we don't need it to be page aligned any more! We can just vmalloc it and everything's great. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions