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: Kathy Hadley <Kathy.Hadley@xxxxxxxxxxxxxxx>
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:14:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 16 Jun 2010 09:17:10 -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=HuJ5vsvFjk7qnnquNUvWM0Obs2KVUf21GuWjDzM9pS4=; b=YSHINJ1mNAi1nCMNAPEmpAM/U9nKttqbDY2qrpBIZLq3lQc+ULtvd0/jSD+nLpJE7A p/+sN8XwRQeP9eGzpghDJH6t4O8vOdxhJu6YqOeSEwAerdfv+fNI+IMF9UIvAjSSjf6H othfpG9hluhhscVmGZCXcrgZSSJwOIFPG75u8=
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=KCOoIEu8AQnpB+hPAhlPV7XTki45SPiLppr/N24PK0p8D7KB5QkuAlPBtCOy7xg8sc 5MuvmxOz0FxwsehZRjT+jKLH5VN83DpV24H6dlYQr4BPPg7vQAY3zlbvEZfJJ6yNf8W4 AxsMtM3rplHNSW6Hx/qm009aP5yhTIuhn2apA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D3E384327F5C6D48AADCEA84160B7D7301470F06@xxxxxxxxxxxxxxx>
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: <D3E384327F5C6D48AADCEA84160B7D7301470EC7@xxxxxxxxxxxxxxx> <AANLkTimYBp1SiABd6SGNqi9GGfQWRe85oPqcLeJh2INc@xxxxxxxxxxxxxx> <D3E384327F5C6D48AADCEA84160B7D7301470F06@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 16, 2010 at 5:00 PM, Kathy Hadley
<Kathy.Hadley@xxxxxxxxxxxxxxx> wrote:
> George,
>  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?

 -George

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

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