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 endless loop for vcpu migration

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Avoid endless loop for vcpu migration
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Mon, 14 Mar 2011 15:06:21 +0000
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Delivery-date: Mon, 14 Mar 2011 08:08:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=3chwiWQ+fmHu6hl2stQh+9Lug/cPNDk7v3RTrZysy8U=; b=nkBVgQkYIfrHuBhaA9/ahwXSUJjlrunFh7uW0bOwlqRIR8FiAyQ7N/t6njj5AjkA75 isF+unM9ySQszhWVAFPzOUFx0nPHOljWLpsPWO+j+E8nD0rorYa6xWocoL9br+S/2+Iq mpW3xpKhtS6gxAR8x9DWItEpXaQyXP23h4Kg4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=VpyhTHZvgMss5wUKxz8P5oW62q/OS74Zd84zCJLyv6jj2z55xlol/jYgwsMtlI1Yd5 i/TyS/TxJEHemLdVNqeEicezKUBm0rslWyJvNDF8AAbkV1Fo/mPPZXcfMjxSMtNYYgii MbRk4tOlxJDDnT52VzqHGXhpr/4J/u6/OFvoQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9d164ce877a75cab847b.1300113594@nehalem1>
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: AcviWWCMqtF7WsyVcUym2629eTVIJQ==
Thread-topic: [Xen-devel] [PATCH] Avoid endless loop for vcpu migration
User-agent: Microsoft-Entourage/12.28.0.101117
I'm not versed enough in this aspect of the scheduler to ack or commit this.
It just looks a bit ugly and confusing to me. Needs an Ack from George
therefore.

 -- Keir

On 14/03/2011 14:39, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:

> On multi-thread multi-core systems an endless loop can occur in vcpu_migrate()
> with credit scheduler. Avoid this loop by changing the interface of pick_cpu
> to indicate a repeated call in this case.
> 
> Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
> 
> 
> 6 files changed, 11 insertions(+), 15 deletions(-)
> xen/common/sched_arinc653.c |    2 +-
> xen/common/sched_credit.c   |   12 +++---------
> xen/common/sched_credit2.c  |    2 +-
> xen/common/sched_sedf.c     |    2 +-
> xen/common/schedule.c       |    6 ++++--
> xen/include/xen/sched-if.h  |    2 +-
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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