Subject: kern/37181: kevent calls ltsleep() at splsched()
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <pooka@iki.fi>
List: netbsd-bugs
Date: 10/23/2007 07:25:01
>Number:         37181
>Category:       kern
>Synopsis:       kevent calls ltsleep() at splsched()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 23 07:25:01 +0000 2007
>Originator:     Antti Kantee
>Release:        Oct 22 2007
>Organization:
>Environment:
>Description:
Man page says about splsched(): Code running at or above this level may not call sleep(), tsleep(), ltsleep(), or wakeup(), nor may it post signals.

sys/kern_event.c:kqueue_scan() calls ltsleep() at splsched()

One is wrong.  You pick which one.
>How-To-Repeat:
code inspection
>Fix: