Re: re-writing on powerpc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 14.12.2010 um 18:53 schrieb Hollis Blanchard:

On 12/14/2010 12:48 AM, Avi Kivity wrote:
On 12/13/2010 07:17 PM, Hollis Blanchard wrote:
Rewriting is dangerous if the guest is unaware of it. As soon as it is made aware of it, it might as well actually do it in the best way that suits it.

Can you list some examples of dangerous scenarios?
- guest jits own kernel code (like Singularity), gets confused when it reads back something it didn't write
This is getting really hypothetical, but why would a JIT need to read the generated code?

Mono/ppc actually does that. It generates trampoline functions and searches emitted code for lis/ori/.../blrl sequences, for instance, to patch addresses for subsequent invocations.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux