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 1/1] Xen ARINC 653 Scheduler (updated to add sup

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/1] Xen ARINC 653 Scheduler (updated to add support for CPU pools)
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Wed, 16 Jun 2010 17:25:57 +0100
Cc: Kathy Hadley <Kathy.Hadley@xxxxxxxxxxxxxxx>, Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Jun 2010 09:27:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fA+Mrr5jPDr1NzuuVwv6p4QsHxGbX04xSbjm0J0N4u4=; b=FPFdzp7WiGdRMNdJ4J56hbI6jdxXbfCSCVQWFFn98IlgviwR6MpnOPVlMVz7N8ywa9 DtIWm4yN+ySLr1UMzh5ogv4j60EtFNoNcuSuN+4Sbdy9bD/rbiwq77S+rCoik1VlJliq 788t/7EmzG5GVUbLH7O37e6kyQ0iUOkyHhb1M=
Domainkey-signature: a=rsa-sha1; c=nofws; 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; b=Ctayc9jWxs//Q+j9QbiyfzZ70PJaht4wzeTmHPrc3rtf3PhtADxm7Kery8BMAjCQXR CfzUOlmWwj1ka2HjI2f4oUrPgJcgUQY7Bl1zZn0jcKkhun/h+NFMgbF9nf+agSsxvNF7 M2cNL9g301+aj+AGAOmmCfazKEX68UuoCCYCM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C83EB84E.17B17%keir.fraser@xxxxxxxxxxxxx>
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: <AANLkTimYzb_3EbI6oSTxTOH2SrQyrUnPDXo-Y-8jArOt@xxxxxxxxxxxxxx> <C83EB84E.17B17%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
It applied pretty cleanly for me.  I didn't try to build it though. :-)

 -George

On Wed, Jun 16, 2010 at 5:20 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 16/06/2010 17:14, "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx> wrote:
>
>>>  I actually tried the xmalloc() method first.  I found that when the
>>> .adjust_global function was called, the address of the "ops" data structure
>>> passed to that function was different from the address of the "ops" data
>>> structure when the .init function was called.  I wanted to use 
>>> .adjust_global
>>> to modify the data structure that was created when the .init function was
>>> called, but I could not figure out a way to get the address of the second
>>> data structure.  Suggestions?
>>
>> It's been a month or two since I trawled through the cpupools code;
>> but I seem to recall that .init is called twice -- once for the
>> "default pool" (cpupool0), and once for an actually in-use pool.
>> (Juergen, can you correct me if I'm wrong?)  Is it possible that
>> that's the difference in the pointers that you're seeing?
>
> Oh yes, that was the old behaviour. I took a hatchet to the
> scheduler/cpupool interfaces a few weeks ago and now we should only
> initialise the scheduler once, unless extra cpupools are manually created.
> The fact that Kathy is seeing two different ops structures probably
> indicates that her xen-unstable tree is very out of date. Which may also
> mean that the patch will not apply to current tip.
>
>  -- Keir
>
>
>
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>