From owner-cvs-all Thu Mar 7 14:26:29 2002 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id BC2C237B404; Thu, 7 Mar 2002 14:26:22 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g27MQ0nK004775; Thu, 7 Mar 2002 23:26:00 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Matthew Jacob , Jeff Roberson , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/sys smp.h src/sys/kern subr_smp.c src/sy In-Reply-To: Your message of "Thu, 07 Mar 2002 17:16:39 EST." Date: Thu, 07 Mar 2002 23:26:00 +0100 Message-ID: <4774.1015539960@critter.freebsd.dk> From: Poul-Henning Kamp 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 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 ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message