mbuf LOR

From: Nate Lawson <nate_at_root.org>
Date: Wed, 2 Apr 2003 12:39:30 -0800 (PST)
I was testing some changes to make fxp MPSAFE and got a LOR in allocating
the mbuf cluster and then finally a panic when trying to dereference the
cluster header.  Is the mbuf system MPSAFE?  Is it ok to call m_getcl
with a device lock held (but not Giant)?

The lock reversal was: 1. fxp softc lock, 2. Giant.

Traceback:
zalloc...
malloc()
mb_pop_cont()
mb_alloc()
m_getcl()
fxp_add_rfabuf()
fxp_intr_body()
fxp_intr() -- locks fxp softc

-Nate
Received on Wed Apr 02 2003 - 10:39:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC