From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Cpupools and pdata_alloc Date: Mon, 10 May 2010 12:47:51 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Keir Fraser , Juergen Gross List-Id: xen-devel@lists.xenproject.org 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