From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: xenpm: fix get-cpu-topology Date: Mon, 12 Jul 2010 18:19:41 +0100 Message-ID: References: <19515.19345.639405.425265@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19515.19345.639405.425265@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 , "Wei, Gang" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 12/07/2010 18:06, "Ian Jackson" wrote: > * The size of this array is specified by the caller in @max_cpu_index. > * If the actual @max_cpu_index is smaller than the array then the > trailing > * elements of the array will not be written by the sysctl. > */ > > So is it the size of the array or the maximum index ? It's the maximum index. Pedantically, that is sufficient to specify the size of the array. It is unnecessarily confusing wording though. -- Keir