From: Keir Fraser Subject: Re: [Patch] use full-size cpumask for vcpu-pin Date: Fri, 13 Aug 2010 14:25:30 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Juergen Gross , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 13/08/2010 14:21, "Keir Fraser" wrote: >> Since Xen discards any CPUs which are not online at the time of the >> setvcpuaffinity hypercall, expressing "all CPUs present and future" is a bit >> pointless. > > Hm, no, I'm talking rubbish. Argh. Okay, his patch is fine then. :-D > > You can check it in to xen-unstable-tools.hg. One suggestion: that we rename the syctl.physinfo field 'max_phys_cpus' to 'max_possible_cpus'. The 'phys' is kind of redundant since this is the physinfo sysctl, and 'possible' provides a better hint that this fields indicates maximum possible supported CPUs now and forever on this boot of the system. -- Keir