Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262585AbVAKDeE (ORCPT ); Mon, 10 Jan 2005 22:34:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262587AbVAKDa5 (ORCPT ); Mon, 10 Jan 2005 22:30:57 -0500 Received: from fmr22.intel.com ([143.183.121.14]:63389 "EHLO scsfmr002.sc.intel.com") by vger.kernel.org with ESMTP id S262557AbVAKD3p (ORCPT ); Mon, 10 Jan 2005 22:29:45 -0500 Date: Mon, 10 Jan 2005 19:28:47 -0800 From: "Siddha, Suresh B" To: James Cleverdon Cc: YhLu , Andi Kleen , "'Mikael Pettersson'" , Matt_Domsch@dell.com, discuss@x86-64.org, linux-kernel@vger.kernel.org, suresh.b.siddha@intel.com Subject: Re: 256 apic id for amd64 Message-ID: <20050110192846.A30630@unix-os.sc.intel.com> References: <3174569B9743D511922F00A0C94314230729139F@TYANWEB> <200501101642.41783.jamesclv@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200501101642.41783.jamesclv@us.ibm.com>; from jamesclv@us.ibm.com on Mon, Jan 10, 2005 at 04:42:41PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 18 On Mon, Jan 10, 2005 at 04:42:41PM -0800, James Cleverdon wrote: > Personally, I don't have any problem with replacing the non-power-of-2 > code with "hweight32(c->x86_num_cores - 1)", but folks at Intel have > been very insistent that it may be needed in the future. Maybe Suresh > can speak up about Intel's interests here. IA32 SDM vol3 section 7.7.5 talks about the recommended way of computing physical processor package id. Current kernel code which is doing this, can definitely be made more readable. I will do that when ever I get a chance. thanks, suresh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/