看板 FB_hackers 關於我們 聯絡資訊
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig41CD985A1F0CC8A5E66ADDD6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable John Baldwin wrote: > On Thursday 24 January 2008 07:38:39 am Pietro Cerutti wrote: >> Hello, >> >> I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro S= MP >> in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU= >> is defined to 1. Any idea why? >=20 > It is defined in opt_global.h for a kernel build, but it is not defined= in=20 > userland. If you want to use MAXCPU in userland you should query the=20 > appropriate sysctl (kern.smp.maxcpu) instead. >=20 Thanks for the clarification! --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig41CD985A1F0CC8A5E66ADDD6 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) iD8DBQFHmSaJwMJqmJVx944RCjUCAJ9viRTFTUmGtPLfChiuKdLqXp6crQCaAhHC XlZxiMp6rHLCzCrmXNg4U6Y= =Bjnz -----END PGP SIGNATURE----- --------------enig41CD985A1F0CC8A5E66ADDD6--