non-sleepable locks held (xl0)

Gleb Smirnoff glebius at FreeBSD.org
Mon May 23 20:08:08 PDT 2005


  Mike, Bill,

On Mon, May 23, 2005 at 04:55:34PM -0400, Mike Jakubik wrote:
M> Not sure if this is reported already, but i got this on a recently cvsuped
M> -current system while booting.

ACK, my fault. 

We can't just zero ta_pending flag, since task may have alredy been
triggered, and now is being waiting on driver lock at xl_rxeof_task().

Probably we need to run taskqueue_drain() before locking driver
mutex, that is before call to xl_lock().

Bill, what is your opinion?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-current mailing list