Subject: Re: misc/4543: spl(9) manpage in conflict with reality
To: None <jonathan@DSG.Stanford.EDU>
From: Mike Long <mikel@shore.net>
List: netbsd-bugs
Date: 11/19/1997 12:05:52
>Date: Wed, 19 Nov 1997 06:31:39 -0800 (PST)
>From: Jonathan Stone <jonathan@DSG.Stanford.EDU>

>spl(9) describes the synchronization protocol used inside the kernel.
>But the description is not correct. The man page begins
>
>     These functions raise and lower the system priority level.  They are used
>     by kernel code running at any given priority level to block higher-prior-
>     ity interrupts, so that it can safely access variables or data structures
>     which are used by kernel code that runs at a higher priority level.
>
>where historically, and on at least hte mips and vax ports the
>converse is actually true: sptty() blocks tty interrupts and _lower_
>spl levels.  For example, spltty() does _not_ block out splsched().

You are correct, I biffed this.
-- 
Mike Long <mikel@shore.net>                http://www.shore.net/~mikel
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken