From owner-freebsd-questions@FreeBSD.ORG Fri Sep 3 00:26:18 2004 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 D6D1116A4CE for ; Fri, 3 Sep 2004 00:26:18 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD3543D31 for ; Fri, 3 Sep 2004 00:26:18 +0000 (GMT) (envelope-from juhasaarinen@gmail.com) Received: by mproxy.gmail.com with SMTP id 77so55093rnl for ; Thu, 02 Sep 2004 17:26:14 -0700 (PDT) Received: by 10.38.171.20 with SMTP id t20mr3152380rne; Thu, 02 Sep 2004 17:26:14 -0700 (PDT) Received: by 10.38.73.14 with HTTP; Thu, 2 Sep 2004 17:26:13 -0700 (PDT) Message-ID: Date: Fri, 3 Sep 2004 12:26:13 +1200 From: Juha Saarinen To: f-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: DEVICE_POLLING on Intel HT systems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Juha Saarinen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 00:26:18 -0000 I tried recompiling the kernel on a 5.3-beta2 box with DEVICE_POLLING enabled. Compilation failed with a message saying DEVICE_POLLING isn't compatible with SMP. Luigi says on: http://info.iet.unipi.it/~luigi/polling/ "Why does this code not work with SMP ? It actually might work (if you remove a one line in systm.h which prevents compilation with SMP). However, you would have a single thread doing the polling, whereas an SMP box might in principle handle concurrently interrupts from different devices. I guess the best answer is that I am not yet sure on whether or not it makes sense to have polling with SMP. " The box in question is a "pseudo SMP" system, with an Intel HyperThreaded P4 and with the fxp onboard the D850MV motherboard. Has anyone hacked systm.h as per above and enabled DEVICE_POLLING on an HT system? If so, did things compile and generally, work? -- Juha