Subject: Re: use of wakeup_one by kern_lock.c vs. mixed shared/exclusive locks..
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-kern
Date: 09/30/2001 13:12:22
> Kernel code compiled with DIAGNOSTIC (DEADLOCKDEBUG?) or similar should
> include extra code that checks for programming mistakes like these at
> run time and panic's the box.

deadlock detection code would be need to be part of the locking
subsystem -- the very part of the code which had this bug.

> If Bill can make this sort of programming mistake then I'm sure others
> will too - and they may not even be developers.

Uh, please check your bug attributions.  I did not make the change to
add wakeup_one().

				- Bill