From owner-freebsd-current@FreeBSD.ORG Fri Jan 25 09:15:43 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A72016A41A for ; Fri, 25 Jan 2008 09:15:43 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5DC13C45A for ; Fri, 25 Jan 2008 09:15:43 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JIKf0-0002bU-3K; Fri, 25 Jan 2008 10:15:42 +0100 Message-ID: <4799A8AD.1000905@gahr.ch> Date: Fri, 25 Jan 2008 10:15:25 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: "M. Warner Losh" References: <47989278.6050802@gahr.ch> <20080124.213741.1628329459.imp@bsdimp.com> In-Reply-To: <20080124.213741.1628329459.imp@bsdimp.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAB1DC61B9B338309741A8B0B" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-current@freebsd.org Subject: Re: [Fwd: SMP in machine/params.h] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 09:15:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB1DC61B9B338309741A8B0B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable M. Warner Losh wrote: > Why do you think that the SMP macro should be defined in > machine/param.h? I meant "set". I was having a problem understanding with the following (from machine/param.h): #ifdef SMP #define MAXCPU 16 #else #define MAXCPU 1 #endif /* SMP */ but as jhb@ said (see hackers@), they're not supposed to be exported to userland anyway. Maybe some #ifdef _KERNEL ..... #endif could help... >=20 > Warner --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enigAB1DC61B9B338309741A8B0B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHmaiywMJqmJVx944RCoEAAKCfzfgD71eCc0hrhHmn9S3EG9RKlwCgwNIP ZEKTFEFT7IkdTxTCaCnlDRA= =o4o+ -----END PGP SIGNATURE----- --------------enigAB1DC61B9B338309741A8B0B--