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] Re: Xen paravirt frontend block hang

To: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen paravirt frontend block hang
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 18 Mar 2008 09:01:31 -0700
Cc: xming <xmingske@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 Mar 2008 09:05:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CACFBE.5010007@xxxxxxxxxxxx>
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>
References: <4772AC8E.7010007@xxxxxxxxxxxx> <47C712EF.1060703@xxxxxxxx> <47C9F818.4020200@xxxxxxxxxxxx> <47CAC931.1000107@xxxxxxxx> <47CACFBE.5010007@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
Christopher S. Aker wrote:
Jeremy Fitzhardinge wrote:
Are you running an SMP or UP domain? I found I could get hangs very easily with UP (but I need confirm it isn't a result of some other very experimental patches).

The hang occurs with both SMP and UP compiled pv_ops kernels. SMP kernels are still slightly responsive after the hang occurs, which makes me think only one proc gets stuck at a time, not the entire kernel.

The patch I posted yesterday - "xen: fix RMW when unmasking events" - should definitively fix the hanging-under-load bugs (I hope). It problem came from returning to userspace with pending events, which would leave them hanging around on the vcpu unprocessed, and eventually everything would deadlock. This was caused by using an unlocked read-modify-write operation on the event pending flag - which can be set by another (real) cpu - meaning that the pending event wasn't noticed until too late. It would only be a problem on an SMP host.

The patch should back-apply to 2.6.24.

   J

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

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