From owner-freebsd-questions@FreeBSD.ORG Sun Jan 16 06:01:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E22C616A4CE for ; Sun, 16 Jan 2005 06:01:14 +0000 (GMT) Received: from mail.cypherpunks.to (pakastelohi.cypherpunks.to [82.94.251.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7361C43D41 for ; Sun, 16 Jan 2005 06:01:14 +0000 (GMT) (envelope-from shamrock@mail.cypherpunks.to) Date: Sun, 16 Jan 2005 07:01:12 +0100 From: Lucky Green To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Message-Id: <20050116060112.9D96B114B6@mail.cypherpunks.to> Subject: DEVICE_POLLING vs. SMP kernels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 06:01:15 -0000 I am contemplating using the DEVICE_POLLING kernel option with an fxp NIC on FreeBSD 5.3 using an SMP kernel. /usr/src/sys/kern/kern_poll.c clearly states that DEVICE_POLLING is incompatible with SNP kernels: #ifdef SMP #ifndef COMPILING_LINT #error DEVICE_POLLING is not compatible with SMP #endif #endif Yet there are various performance tuning FAQs floating around the Net stating that DEVICE_POLLING will work just fine with SMP kernels and that the user can safely delete the above section from kern_poll.c This may well be the case, but if this is true, why wouldn't that section have been removed from kern_poll.c by now? What are the corner cases, if any, that an admin should be aware of that keep this error message in the code? TIA, -- Lucky Green PGP encrypted email preferred.