From: Keir Fraser Subject: Re: [PATCH] Avoid endless loop for vcpu migration Date: Mon, 14 Mar 2011 15:06:21 +0000 Message-ID: References: <9d164ce877a75cab847b.1300113594@nehalem1> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9d164ce877a75cab847b.1300113594@nehalem1> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross , xen-devel@lists.xensource.com Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org 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" 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@ts.fujitsu.com > > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel