FreeBSD smp

Denny White dennyboy at cableone.net
Sat Jun 24 02:59:42 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> On Tue, 20 Jun 2006 22:51:46 -0500 (CDT)
> Denny White <dennyboy at cableone.net> wrote:
>
>> 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.
>

Today Joerg Pernfuss wrote:

> Obviously only if you have enabled device polling in your custom kernel
> and know what you're doing. Defaulting to refuse to build polling on
> SMP has its reason. While it is generally not a problem, the kernel /
> userland ratio and statistics code might get messed up if I recall
> an old posting from Luigi correctly.
>
> 	Joerg
> -- 
> | /"\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
> | \ / campaign against |    0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
> |  X    HTML in email  |        .the next sentence is true.       |
> | / \     and news     |     .the previous sentence was a lie.    |
>

Yup, you're right. And I do have device polling enabled in
the kernel. My bad. Open one mouth, extricate one foot. :-)
Time for either a jolt or some sleep.

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)

iD8DBQFEnKqcy0Ty5RZE55oRAmcVAJ0RSZG8WtTCavx34HuRGXh0R/hPWACeJCyg
7ntC/WIi/T8bKBAkNPrgUWs=
=1wiI
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list