xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Cpupools and pdata_alloc
@ 2010-05-10 17:47 George Dunlap
  2010-05-11  4:48 ` Juergen Gross
  0 siblings, 1 reply; 7+ messages in thread
From: George Dunlap @ 2010-05-10 17:47 UTC (permalink / raw)
  To: xen-devel, Keir Fraser, Juergen Gross

It appears that in the new cpupools code:
* pdata_allocate is called from alloc_vcpu() with that cpu for the first time.
* this happens usually when dom0's cpus are allocated, as it cycles
through all of the cpus

This seems a bit strange to me.  Wouldn't it make more sense to pass,
or to make available, a cpumask of the cpus in a pool to the init
function?

Also, is there documentation of the cpupool lifecycle anywhere, to
help scheduler writers understand what's going on?

 -George

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-12  4:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 17:47 Cpupools and pdata_alloc George Dunlap
2010-05-11  4:48 ` Juergen Gross
2010-05-11 17:25   ` George Dunlap
2010-05-11 18:41     ` Keir Fraser
2010-05-11 18:52       ` George Dunlap
2010-05-11 18:55         ` Keir Fraser
2010-05-12  4:52     ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).