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 panic when adjusting sedf parameters

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Avoid panic when adjusting sedf parameters
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Thu, 17 Nov 2011 15:37:49 +0100
Delivery-date: Thu, 17 Nov 2011 06:45:09 -0800
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1321540927; x=1353076927; h=mime-version:subject:message-id:date:from:to; bh=3Te7JMLYTewFxOAyqHxxpYC3mEzNbO1jQm/GMTBq2PA=; b=Lm7mhQcW9hamycKTmCaFJMejuuv4DGG0aivUDz2AMAIJ0Aoj6T/u1IiH iurh7ySWeQ8mK9oK/M5Pvu1v6YmhwgXtRi+9phw6V1mr7hJsgjnADLjqq zBiT69TcmkrmNPgA1gvNIWGMtxrPyXaTpLTFvft+bpPYeCiHziRFAhKZE BrhNc3ZHDpeauD0peKuQ7q8qhkO4ZQeSSo0sPqrbcf5qs6hQ16cgghFQ4 KgqLejECbo6F8KjqTn2fNUE6dYLZ3;
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;
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
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