[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mbuf pool allocator can sleep in interrupt context?
Thor Simon wrote:
We have a very busy system (it is a load test target) which continually
has several thousand TCP connections open and often has bursts of thousands
of nearly simultaneous connection requests. It's running a netbsd-5 branch
We have been seeing LOCKDEBUG panics. They appear to result from the wm
driver attempting to get an mbuf in its receive interrupt handler. There
are none available in the pool (or it's below its low water mark) so it
tries to allocate. This causes a sleep lock attempt in interupt context
and over-the-side we go.
Has anyone else seen this? Is there an obvious fix? I don't really want
to go turning sleep locks to spin locks if I don't have to.
Is something using M_WAIT where it should not?
Main Index |
Thread Index |