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] Substitue the duplicate spin_lock_irqsave to spin_loc

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH] Substitue the duplicate spin_lock_irqsave to spin_lock in the vt-d code path
From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Date: Thu, 10 Jul 2008 10:47:51 +0800
Delivery-date: Wed, 09 Jul 2008 19:48:17 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjiN1hOiwSm/wg0QNGElBi9ZsqyBA==
Thread-topic: [Xen-devel][PATCH] Substitue the duplicate spin_lock_irqsave to spin_lock in the vt-d code path

The patch removes the duplicate spin_lock_irqsave to spin_lock in the Vt-d code path.

The duplicate spin_lock_irqsave() flushes the original EFLAGS saved, and thus disable the local irq.

 

Signed-off-by: Xin, Xiaohui Xiaohui.xin@xxxxxxxxx

Signed-off-by: Tian, Kevin <Kevin.Tian@xxxxxxxxx>

Attachment: fix.diff
Description: fix.diff

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel][PATCH] Substitue the duplicate spin_lock_irqsave to spin_lock in the vt-d code path, Xin, Xiaohui <=