Alexander Graf f7bc74e1c3 KVM: PPC: Improve split mode
When in split mode, instruction relocation and data relocation are not equal.

So far we implemented this mode by reserving a special pseudo-VSID for the
two cases and flushing all PTEs when going into split mode, which is slow.

Unfortunately 32bit Linux and Mac OS X use split mode extensively. So to not
slow down things too much, I came up with a different idea: Mark the split
mode with a bit in the VSID and then treat it like any other segment.

This means we can just flush the shadow segment cache, but keep the PTEs
intact. I verified that this works with ppc32 Linux and Mac OS X 10.4
guests and does speed them up.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-05-17 12:18:58 +03:00
..
2010-03-01 12:35:47 -03:00
2010-05-17 12:18:58 +03:00
2010-05-17 12:18:17 +03:00
2010-05-17 12:18:58 +03:00
2010-05-17 12:18:58 +03:00
2009-03-24 11:02:59 +02:00
2010-05-17 12:18:41 +03:00
2009-11-05 17:17:12 +11:00
2009-11-05 16:50:27 +11:00