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

[Xen-devel] [PATCH] Avoid panic when adjusting sedf parameters


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Thu, 17 Nov 2011 15:37:49 +0100
  • Delivery-date: Thu, 17 Nov 2011 14:45:01 +0000
  • 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=Q4LNH7EFrwhnHoUrDDJJ80h9Fa4SMUC5e4vlTEk2Y+JY57Fa7v3zLMZM QaVrKOns4QYCJOfiMlD7sBqxByfKcROTDQClRZr5IVUj+T99GO5kwefxI V499hsVcjJ0e8T4R8e5u6zpv4fF1agHq1b0kWTh6/E58k9kqvnGnhWw2b OXeve062MgsmbgE+1RF58pu8lTcWpScTbWKasRUna2pR2UyXmZV6pS/ii VPLYfI93co5VjGiU8+UyD4jZFV3Az;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

When using sedf scheduler in a cpupool the system might panic when setting
sedf scheduling parameters for a domain.
Introduces for_each_domain_in_cpupool macro as it is usable 4 times now.
Add appropriate locking in cpupool_unassign_cpu().

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


4 files changed, 28 insertions(+), 11 deletions(-)
xen/common/cpupool.c    |    6 +++---
xen/common/sched_sedf.c |    8 ++++----
xen/common/schedule.c   |    5 +----
xen/include/xen/sched.h |   20 ++++++++++++++++++++


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®.