Date: Tue, 20 Jun 2006 22:51:46 -0500 (CDT) From: Denny White <dennyboy@cableone.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: FreeBSD smp Message-ID: <Pine.BSO.4.64.0606202242570.6552@badboybox.cableone.net> In-Reply-To: <0578D634449883E0B7478DE4@Paul-Schmehls-Computer.local> References: <1150853032.16507.1.camel@localhost> <0578D634449883E0B7478DE4@Paul-Schmehls-Computer.local>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > --On June 20, 2006 10:23:52 PM -0300 Sergio Lenzi <lenzi@k1.com.br> wrote: > >> Hello, >> >> Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and >> on >> Linux it shows up with two cpus. When I do a top on the box in FreeBSD I >> still >> see only one CPU. Also, sysctl -a | grep cpu only shows a dev.cpu.0. >> Today Paul Schmehl wrote: > No, SMP is not enabled in the GENERIC kernel. You must add: > options SMP > to the GENERIC kernel. > > Paul Schmehl (pauls@utdallas.edu) > Adjunct Information Security Officer > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ > Okay, might be off base here, so someone correct me if I'm wrong. Don't you also have to remove the following #ifdef SMP #ifndef COMPILING_LINT #error DEVICE_POLLING is not compatible with SMP #endif #endif from /usr/src/sys/kern/kern_poll.c ? You'll get an error part of the way through building the kernel otherwise, right? Like I said, that's the way I remember it. Just trying to save someone some unnecessary work. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (OpenBSD) iD8DBQFEmMJYy0Ty5RZE55oRAopwAKCDQTIJ/FtluG1Z8Oyg39aCktGzEACeJAn/ S91I6mzUdiq20//umC0+/xI= =EWQS -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.64.0606202242570.6552>