Re: locking problems in IPv6 code

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Sat, 21 Jun 2003 06:43:01 -0700
Hiten Pandya wrote:
> On Thu, Jun 19, 2003 at 03:17:03PM -0700, John-Mark Gurney wrote:
> > I am running FreeBSD 5.1-R on a sparc64 machine, and am getting warnings
> > about mallocing data w/ a lock aquired.
> >
> > dmesg output:
> > malloc() of "64" with the following non-sleepablelocks held:
> > exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215
> 
>         For what it's worth, these warnings also appear if netisr direct
>         dispatch is enabled with the fxp(4) driver.

There are basically 2 structures of exactly 64 bytes in the
kernel; one is the zombie structure, and the other is the
template structure for TCP.  I'm going to guess that this
one is the template structure, if you are interested in
tracking down the problem.

-- Terry
Received on Sat Jun 21 2003 - 04:44:24 UTC

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