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] [PATCH] Avoid triggering the softlockup BUG when offline

To: "Glauber de Oliveira Costa" <gcosta@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Avoid triggering the softlockup BUG when offline for too long.
From: "Glauber de Oliveira Costa" <glommer@xxxxxxxxx>
Date: Mon, 27 Nov 2006 14:47:33 -0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Mon, 27 Nov 2006 08:47:41 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dz22qhutMmieziXlR3IqbuURynwMQVHwopBrsdF/k0RDX/SzaaIIKx/1ZyPd0PYhdU9BA4dbSuN6VhhP1xupYyVwKnVPHbuplWse7iloqcS1TiJbh6yO8KbEAcKekWQp6V0EFEkyryC9e8QGV6z4CBiP9c3DAC6YdJn/uFRVLwQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061127153112.GB6848@xxxxxxxxxx>
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: <20061124131022.GB7171@xxxxxxxxxx> <C1906CC2.519F%keir@xxxxxxxxxxxxx> <20061127153112.GB6848@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
* stolen time, as well as blocked time, does not have it's corresponding
per processor variable updated all in once, but in multiples of
NS_PER_TICK chuncks. If we're out for too long, we could detect stolen
being too great multiple times, leading to far more calls to the
softlockup watchdog then we want too.

FYI, I just made a simple test checking for stolen time instead of
offline, and it's in fact called way too oftenly.

--
Glauber de Oliveira Costa.
"Free as in Freedom"

Add your comments to GPLv3 at:
http://gplv3.fsf.org/comments/gplv3-draft-2.html

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