Bug 46793

Summary: DEVICE_POLLING can not be used with SMP, but LINT & NOTES does not mention it.
Product: Documentation Reporter: Kang Liu <liukang>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kang Liu 2003-01-06 07:20:05 UTC
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

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
How-To-Repeat: make kernel, use "option DEVICE_POLLING" & "option SMP" in the same config
file.
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2005-02-23 04:13:37 UTC
State Changed
From-To: open->patched

Patched in -CURRENT, MFC pending. 


Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2005-02-23 04:13:37 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me, MFC reminder.
Comment 3 Matteo Riondato freebsd_committer freebsd_triage 2005-08-19 18:39:52 UTC
State Changed
From-To: patched->closed

DEVICE_POLLING can be used with SMP. trhodes added the comment proposed but then removed it after having discussed with ru and glebius