From lazykang@hotmail.com  Sun Jan  5 23:17:33 2003
Return-Path: <lazykang@hotmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3F21E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jan 2003 23:17:33 -0800 (PST)
Received: from hotmail.com (f81.pav2.hotmail.com [64.4.37.81])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EECEB43EB2
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jan 2003 23:17:32 -0800 (PST)
	(envelope-from lazykang@hotmail.com)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Sun, 5 Jan 2003 23:10:36 -0800
Received: from 218.246.96.8 by pv2fd.pav2.hotmail.msn.com with HTTP;
	Mon, 06 Jan 2003 07:10:35 GMT
Message-Id: <F81KLpgTFur2iz2Mb1s00023170@hotmail.com>
Date: Mon, 06 Jan 2003 15:10:35 +0800
From: "Kang Liu" <lazykang@hotmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: DEVICE_POLLING can not be used with SMP, but LINT & NOTES does not mention it.

>Number:         46793
>Category:       docs
>Synopsis:       DEVICE_POLLING can not be used with SMP, but LINT & NOTES does not mention it.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 05 23:20:05 PST 2003
>Closed-Date:    Fri Aug 19 17:40:51 GMT 2005
>Last-Modified:  Fri Aug 19 17:40:51 GMT 2005
>Originator:     Kang Liu <liukang@bjpu.edu.cn>
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
Beijing University of Technology <http://www.bjpu.edu.cn>
>Environment:
System: FreeBSD cnproxy.bjpu.edu.cn 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 
#0: Wed
Jan 1 13:38:34 CST 2003 root@
dell.bjut.edu.cn:/usr/obj/usr/src/sys/CNPROXY i386

>Description:
When build kernel use the "option DEVICE_POLLING" with "option SMP", it'll
fail:
.....
/usr/src/sys/kern/kern_lock.c:646: #error "SIMPLELOCK_DEBUG is not 
compatible with
SMP!"
/usr/src/sys/kern/kern_poll.c:43: #error DEVICE_POLLING is not compatible 
with
SMP
.....
But it is not mentioned in LINT
>How-To-Repeat:
make kernel, use "option DEVICE_POLLING" & "option SMP" in the same config
file.
>Fix:
I think it should be mentioned in LINT(for 4.x) & NOTES(for 5.0).

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Wed Feb 23 04:13:37 GMT 2005 
State-Changed-Why:  
Patched in -CURRENT, MFC pending. 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Wed Feb 23 04:13:37 GMT 2005 
Responsible-Changed-Why:  
Over to me, MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46793 
State-Changed-From-To: patched->closed 
State-Changed-By: matteo 
State-Changed-When: Fri Aug 19 17:39:52 GMT 2005 
State-Changed-Why:  
DEVICE_POLLING can be used with SMP. trhodes added the comment proposed but then removed it after having discussed with ru and glebius 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46793 
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 >LINT does not mention
 it.
 >
