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

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

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Avoid panic when adjusting sedf parameters
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Thu, 17 Nov 2011 12:43:49 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Nov 2011 04:44:25 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=su1q87hoTPepbkrGzZvS+ar0PZeeYyhFqqsKZHfiTfU=; b=bCc0f5FWgavSrynTML9J/h+frFyBVwDi5PZXaqSgm2ZspkDDUTgIfzpkV7CPkycbh1 3+GAj7agDyaWPNqc6g9QpaAceJSCAMRQG7Nr8H48uI5FF7e/FUxfbX3tXFoF4kRoQ91x ARH99TZMj1iABCbEvf4ch9H43sijuB8UQq2pE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7167eaa187b3cd996637.1321533214@nehalem1>
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>
References: <7167eaa187b3cd996637.1321533214@nehalem1>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Nov 17, 2011 at 12:33 PM, Juergen Gross
<juergen.gross@xxxxxxxxxxxxxx> wrote:
> When using sedf scheduler in a cpupool the system might panic when setting
> sedf scheduling parameters for a domain.

The cpupool structures keep track of which domain is in which pool,
right?  I wonder if a more elegant solution might be to make a
for_each_domain_cpupool() macro.

Just an idea, not a NACK; if you don't think my idea is good / don't
have time / inclination to do it now, I'm fine with this patch..

 -George


>
> Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
>
>
> 1 file changed, 4 insertions(+)
> xen/common/sched_sedf.c |    4 ++++
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel