]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: PPC: Preload magic page when in kernel mode
authorAlexander Graf <agraf@suse.de>
Mon, 2 Aug 2010 14:08:22 +0000 (16:08 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:05 +0000 (10:52 +0200)
commit4cb6b7ea0cd085e6613153ad69608cad6421abcc
tree79c5eae68895c2ac75e09846f44782dd347a0cdd
parentc60b4cf70127941e2f944a7971a7f6b3ecb367ac
KVM: PPC: Preload magic page when in kernel mode

When the guest jumps into kernel mode and has the magic page mapped, theres a
very high chance that it will also use it. So let's detect that scenario and
map the segment accordingly.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s.c