From owner-cvs-all Thu Mar 7 15:12:23 2002 Delivered-To: cvs-all@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 7D50937B41F for ; Thu, 7 Mar 2002 15:11:45 -0800 (PST) Received: (qmail 8914 invoked from network); 7 Mar 2002 23:11:43 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Mar 2002 23:11:43 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g27NC7v07970; Thu, 7 Mar 2002 18:12:07 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <4774.1015539960@critter.freebsd.dk> Date: Thu, 07 Mar 2002 18:11:40 -0500 (EST) From: John Baldwin To: Poul-Henning Kamp Subject: Re: cvs commit: src/sys/sys smp.h src/sys/kern subr_smp.c src/sy Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Jeff Roberson , Matthew Jacob Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07-Mar-02 Poul-Henning Kamp wrote: > In message , John Baldwin writes: > >>Does that make sense? I'm not say we need to support some wildly sparse >>range, >>but we shouldn't assume 0 and 1 for any dual CPU system. > > What is the problem with putting a logical CPU id in a word in the > per-cpu area ? As far as I know, that would even be faster to read > than the APIC-id ? Nothing. We actully do this now. We just base the logical ID on the physical ID now in a 1:1 fashion. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message