WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

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: Wed, 08 Feb 2006 13:52:25 +0100
Delivery-date: Wed, 08 Feb 2006 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>
  • [Xen-devel] [PATCH] x86-64 linux: call evtchn_do_upcall on irq stack and adjust irqcount, Jan Beulich <=