commit | 032c3407310c7612db55ab7e1335a21dc2b4690d | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Feb 19 12:24:33 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Sun Apr 25 12:38:04 2010 +0300 |
tree | 34235b63019986c9d6e49452ef289c6432d59417 | |
parent | 964b6411af10fbddc827fdd3887c49f7f5d2bfd3 [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>