A trio of issues were discovered and fixed while bringing up smp guests:
- An nx huge page table shadow could alias a real mode shadow page table,
causing the real mode page to be treated as not executable. For certain
newer Linux kernels, this caused kvm to spin on the smp trampoline.
This is not an smp issue per se, but only triggered in that scenario.
- The memory slot and memory alias manipulation functions were not handled
properly in guest smp. This causes hangs starting X. With the patch
applied, Linux can boot into graphical mode.
- Windows apparently uses rdmsr and wrmsr on its trampoline, so we need to
add these instructions to the x86 emulator.
With these three patches atop the previously submitted patchset, guest smp
is fully operational. Kernel build on 2-way smp is 40% faster than on a up
guest. Expect significant performance improvements from in-kernel apic and
from further tuning.
Please review -- comments welcome.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Video 4 Linux]
[Linux for the blind]