Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2003 15:10:35 +0800
From:      "Kang Liu" <lazykang@hotmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/46793: DEVICE_POLLING can not be used with SMP, but LINT & NOTES does not mention it.
Message-ID:  <F81KLpgTFur2iz2Mb1s00023170@hotmail.com>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 05 23:20:05 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 >LINT does not mention
 it.
 >

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F81KLpgTFur2iz2Mb1s00023170>