| To: | <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel] [PATCH] x86-64 linux: call evtchn_do_upcall on irq stack and adjust irqcount |
| From: | "Jan Beulich" <JBeulich@xxxxxxxxxx> |
| Date: | 2006年2月08日 13:52:25 +0100 |
| Delivery-date: | 2006年2月08日 13:02:58 +0000 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] read_cr3() , Jan Beulich |
|---|---|
| Next by Date: | [Xen-devel] [PATCH] x86-64 linux: properly exit idle mode from evtchn_do_upcall() , Jan Beulich |
| Previous by Thread: | [Xen-devel] read_cr3() , Jan Beulich |
| Next by Thread: | [Xen-devel] [PATCH] x86-64 linux: properly exit idle mode from evtchn_do_upcall() , Jan Beulich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |