Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 18:19:08 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        net@freebsd.org
Subject:   mallocing from if_start
Message-ID:  <20030312181454.V641@beagle.fokus.fraunhofer.de>

next in thread | raw e-mail | index | archive | help

Hi all,

I was under the impression that the if_start function is NOT called from
an interrupt context, so I should be able to call uma_zalloc_arg(...,
M_WAITOK) there. I get however

Mar 12 18:12:49 catssrv kernel: malloc() of "en dma maps" with the following non-sleepablelocks held:
Mar 12 18:12:49 catssrv kernel: exclusive sleep mutex netisr lock r = 0 (0xc022d9c0) locked @ /usr/src/sys/net/netisr.c:209

I'm wrong with my assumption?

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312181454.V641>