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

Re: [Xen-devel] 3.0.4: Soft lockup in netfront in SMP build

To: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.4: Soft lockup in netfront in SMP build
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 22 Apr 2007 10:55:13 +0100
Delivery-date: Sun, 22 Apr 2007 02:52:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <342BAC0A5467384983B586A6B0B376710548B5AD@xxxxxxxxxxxxxxxxxxxxx>
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
Thread-index: AceEXmQbVpZcSzczQ7SLQWqGyxSkMgAZe4Lc
Thread-topic: [Xen-devel] 3.0.4: Soft lockup in netfront in SMP build
User-agent: Microsoft-Entourage/11.3.3.061214
On 21/4/07 22:45, "Graham, Simon" <Simon.Graham@xxxxxxxxxxx> wrote:

> Oops! 
> 
> I see from the unstable tree that this code was recently modified to use
> spin_lock_bh() instead of spin_lock() as part of a mega-merge of IA64 code -
> clearly we cant merge this changeset into 3.0.4.
> 
> I haven't looked too closely at all of the code yet, but I'm wondering if a
> judicious change of spin_lock to spin_lock_bh in netfront would be the best
> approach?

Actually the fixes are localised in changesets 14844 and 14851. These should
be easily portable to the kernel(s) of your choice. Thanks are due again to
Jeremy for finding these nasty lurking deadlocks (albeit with automated
assistance :-).

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>