From: "Jan Beulich" Subject: Re: c/s 18470 Date: Wed, 17 Sep 2008 11:45:59 +0100 Message-ID: <48D0FC07.76E4.0078.0@novell.com> References: <48D0D138.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <48D0D138.76E4.0078.0@novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jinsong Liu Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> "Jan Beulich" 17.09.08 09:43 >>> >This changeset reverts two previous corrections, for reasons that escape >me. > >First, the domain map is again being confined to NR_CPUS, which I had >submitted a patch to fix recently (yes, I realize the code has a TODO in >there, but those really get forgotten about far too often). > >Second, the platform hypercall was reverted back to require all >information to be passed to Xen in one chunk, whereas I recall that even >Intel folks (not sure if it was you) agreed that allowing incremental >information collection was more appropriate. > >Could you clarify why these changes were necessary and if/when you >plan to address the resulting issues? Also, were these changes tested on AMD CPUs? It would seem to me that the cpufreq_cpu_policy array would remain uninitialized here, and hence the first access in the powernow code would dereference a NULL pointer. Likewise the calls to cpufreq_{add,del}_cpu() from the CPU hot(un)plug paths seem to consider the Intel case only (as the functions themselves are Intel specific). Jan