Thread (19 messages) 19 messages, 7 authors, 2007-03-20

Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable

From: Andi Kleen <hidden>
Date: 2007-03-18 17:04:17
Also in: lkml, virtualization, xen-devel

Possibly related (same subject, not in this thread)

The bigger problem is that you don't know what registers you can
clobber.  For the pv_ops in hand-written asm, that a big pain.  The code
either has to assume the worst, or the "relocator" has to do something
more sophisticated (like look for push/pop pairs surrounding the call,
perhaps?).
You could use the dwarf2 unwind tables. They have exact information
what register has what. But it would likely get complicated.

-Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help