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 race in schedule() when switching schedulers

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Avoid race in schedule() when switching schedulers
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 13 Sep 2011 12:36:19 +0200
Delivery-date: Tue, 13 Sep 2011 03:42:46 -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=1315910400; x=1347446400; h=mime-version:subject:message-id:date:from:to; bh=qunIxFt2DdZXyljt3hJEqBuyiWRdfqbe/ZG8inLRnH4=; b=A5dQPTNyfYPr8BwUs7LJtIOWlItayHf+PykMFsuyYNZFfZJNdj/Dqtw1 a1gKd6m9dtfDfhdmuDGyLk4JmTEDExXlrqUVgNM04UhD7JfDEaRhfLxei 9+ziSE42zPNBILIqikGYrbgnr5BC28y5cXUOdyZmxYiwqy3NsPw76l9i1 JXPuguqSfMM766uWDNaqnNtDPir8VwnZAPWEi8JKFCZC199zAVhKy9BN6 FWKZYubh3/FpnATr+MGAIJG4R91dp;
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=puqI2P4Ku9/h2KHwwfaEqNFpFPhaaQw94R+6Apdvcl7CAgMHzyjgfC6u nl6avQOq1Xqxo8FH/2Bg6CYiU9Em7OY+/BCVONa4NHj02wLcXLve78RFH 2CKR/9jjNaHLVzXe9Zq4eCNT5O2VoXeG43GhQO92HVm8ZKLEf+bIp/y/b oBH8bR+aCdjMJ1WKX3Co3jPqygOheJqldRKfFgABsjEewC9zG21b0fZXJ 6xBpVc8/83UFeHwQMQDkP5E2ROXgD;
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
Selecting the scheduler to call must be done under lock. Otherwise a race
might occur when switching schedulers in a cpupool

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


1 file changed, 2 insertions(+), 1 deletion(-)
xen/common/schedule.c |    3 ++-


Attachment: xen-staging.hg.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>