* Jeremy Fitzhardinge (jeremy@xxxxxxxx) wrote: > I'm implementing a more efficient version of the Xen iret paravirt_op, > so that it can use the real iret instruction where possible. I really > need to get access to per-cpu variables, so I can set the event mask > state in the vcpu_info structure, but unfortunately at the point where > INTERRUPT_RETURN is used in entry.S, the usermode %fs has already been > restored. > > How would you feel if we changed paravirt_ops.iret to make it also > responsible for restoring %fs? This is definitely ad-hoc semantic change, but I don't see a beter way to do it (other than have iret be restore_regs_and_iret, which isn't really an improvement). thanks, -chris _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization