[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Avoid race in schedule() when switching schedulers


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.