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

Re: [Xen-devel] [PATCH 1/1] Xen ARINC 653 Scheduler (updated to add support for CPU pools)


  • To: Kathy Hadley <Kathy.Hadley@xxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.