Subject: kern/21602: preempt(9) is wrong
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/16/2003 23:42:44
>Number:         21602
>Category:       kern
>Synopsis:       preempt(9) is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 23:43:00 UTC 2003
>Originator:     Krister Walfridsson
>Release:        NetBSD 1.6S as of 2003-05-16
preempt(9) describes an old version of the function, with a (to my
limited understanding) rather different functionality from the current
one.  Note that the comment before the function definition (in
sys/kern/kern_synch.c) is wrong too.

   man 9 preempt

and notice that it says 

    preempt(struct proc *p);

where the source says

    preempt(int more)