Subject: Re: use of wakeup_one by kern_lock.c vs. mixed shared/exclusive locks..
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 09/30/2001 08:23:24
On Sun, Sep 30, 2001 at 04:08:26PM +1000, Darren Reed wrote:

 > Is there something we can do to code this rule into place ?
 > 
 > For example, make wakeup_one() panic when it sees this condition, or
 > automatically call wakeup() instead, maybe ?

No, there is no way to detect the caller's intent from inside wakeup_one().

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>