FreeBSD smp

Joerg Pernfuss elessar at
Fri Jun 23 05:07:26 UTC 2006

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

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.

| /"\   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.    |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list