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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Avoid endless loop for vcpu migration
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2011 15:39:54 +0100
Delivery-date: Mon, 14 Mar 2011 07:43:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1300113666; x=1331649666; h=mime-version:subject:message-id:date:from:to; bh=fipJUy3tUeinyOILB1y/wyKRgMbNP7OrtiNv9bco2Hk=; b=JAsW9lggcZLTZGMuyV0UAjXcKl52K9VKILwBYzPJaSNgqXsqxhQg6T3w qGKAi2/jV6P6qo/O6ZUkf1+q7PEbV9f50Iwy+YWeXItoopCfxamYkowHL 8U3MxBo2flB2c9o5m9CPBKyYE+THHDXWNi3HfCpxPNXDA31ijJ8RFdlvG CYuKvSqsbRJzUPlzsOoImUI3ghRRMjOLdc6/BtllT0EiuATYa2p2AREST mvGh1Pk+/QIdhttiUtHhcRRmkeBce;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:Date:From:To; b=Qazh7/1oH7KbfgXDzppUJ06Ou80cZ0yetjisEJ8cr9oWYMj0J59svZ1m E3S2wS6D0nbox5mwlTVEgCD/B+4I/Kx4+Ab3CauvCO8z7Xk37031yUdLi izGOM4HXBxSWtGvd3+bHIquib+8/adJFdPno6VDuiWHk4oY1F0+n97YfY 8Ar1+hV9AAiOLuPBXGlUJYpAWmebvUCHJPhIu4OjpRhDSbRaacoeMRWHE coi81rp1fHa5/zGYZMdAh1luUBlEA;
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
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 +-


Attachment: xen-work.patch
Description: Text Data

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