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

Re: [Xen-devel] [Patch] use full-size cpumask for vcpu-pin


  • To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 11 Aug 2010 06:32:21 +0200
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 10 Aug 2010 21:33:18 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=fMWUsLcFk0Gq44WLCQkCzNLyd4eqxXCSSCPuORak2y5yDQvszgqcoW1s RIzEds/6myThhPboGcYpFcVhEuwdq66Ejk7pQNQR9WmTHMjA9g9nSTvEe GCO2tRGpmQn+SgklcFxCzON9B/ynUdr7DDDf6cIhpIkSt7X/INuwMGaZq h5/P/zAOrxgub4UzjDbbU2H5AutjoQfzc8MaKoLOsteGk8sgMWru+Ecrc n9+7A7n5RF0YrPx86Rd5k60fYVk1y;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
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®.