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

[Xen-devel] [PATCH] x86-64 linux: call evtchn_do_upcall on irq stack and adjust irqcount



Especially in the light of the recent no-idle-tick preparations in native 
x86-64 it is important that exit_idle() has
proper state available. For this reason, the processor's irqcount must be 
adjusted within upcalls, and for consistency
and similarity with native code this call should also execute on the 
processor's irq stack.
At once the patch slightly simplifies the pre-existing code by copying %rdi 
into %rsp instead of adding 8 to %rsp, and
by using %rdi instead of %rsp (avoiding a needless resource dependency) for 
storing the event mask.

Jan

Attachment: xenlinux-x86_64-evtchn-upcall-on-irqstack.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.