diff options
author | Alexander Graf <agraf@suse.de> | 2010-07-29 14:48:01 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:50:54 +0200 |
commit | 2d4f567103ff5a931e773f2e356b4eb303115deb (patch) | |
tree | ae80b4e8f5137a1ab6f03dbb93413b89800930c6 /arch/powerpc/mm | |
parent | d1290b15e7f139e24150cc6e6d8e904214359e8a (diff) | |
download | blackbird-op-linux-2d4f567103ff5a931e773f2e356b4eb303115deb.tar.gz blackbird-op-linux-2d4f567103ff5a931e773f2e356b4eb303115deb.zip |
KVM: PPC: Introduce kvm_tmp framework
We will soon require more sophisticated methods to replace single instructions
with multiple instructions. We do that by branching to a memory region where we
write replacement code for the instruction to.
This region needs to be within 32 MB of the patched instruction though, because
that's the furthest we can jump with immediate branches.
So we keep 1MB of free space around in bss. After we're done initing we can just
tell the mm system that the unused pages are free, but until then we have enough
space to fit all our code in.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions