From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [Patch] use full-size cpumask for vcpu-pin Date: Wed, 11 Aug 2010 06:32:21 +0200 Message-ID: <4C6227D5.60408@ts.fujitsu.com> References: <4C566844.2070408@ts.fujitsu.com> <19553.24054.564316.142633@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19553.24054.564316.142633@mariner.uk.xensource.com> 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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 08/10/10 16:11, Ian Jackson wrote: > Juergen Gross writes ("[Xen-devel] [Patch] use full-size cpumask for vcpu-pin"): >> The reason is the allocation of the cpumap for pinning: the size is only for >> the ACTUAL number of physical cpus in the system, not the possible number. >> The solution is to allocate a cpumap for up to NR_CPUS. > > Thanks for this patch. However, this doesn't seem to be even slightly > backwards-compatible, because it changes the layout of the physinfo > sysctl response. No, it doesn't change the layout. The new structure member just fills a hole which was already there due to alignment of the next member. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html