RE: Lock order reversal in 5.2-CURRENT

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Wed, 11 Aug 2004 14:03:45 +0000 (UTC)
On Wed, 11 Aug 2004, Terrence Koeman wrote:

> lock order reversal
>  1st 0xc0645aa0 sched lock (sched lock) _at_
> /usr/src/sys/kern/subr_sleepqueue.c:623
>  2nd 0xc06486ec sleepq chain (sleepq chain) _at_
> /usr/src/sys/kern/subr_sleepqueue.c:223
> KDB: stack backtrace:
> kdb_backtrace(c05fe96f,c06486ec,c05fdc8a,c05fdc8a,c05fdc97) at
> kdb_backtrace+0x2e
> witness_checkorder(c06486ec,9,c05fdc97,df,67e) at witness_checkorder+0x6a6
> _mtx_lock_spin_flags(c06486ec,0,c05fdc97,df,0) at _mtx_lock_spin_flags+0x8d
> sleepq_lookup(c0641d80,c05fe5e3,687,c0645aa0,d3bbc9ec) at sleepq_lookup+0x57
> sleepq_broadcast(c0641d80,0,ffffffff,d3bbca14,c04b4152) at
> sleepq_broadcast+0x31
> wakeup(c0641d80,1,c05fbc09,179,c1a632c0) at wakeup+0x21

for the archives: looks quite similar to
http://sources.zabbadoz.net/freebsd/lor.html#004
so I added it there. It got patched in the other place.

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
Received on Wed Aug 11 2004 - 12:05:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC