From owner-freebsd-net Wed Mar 12 9:19:11 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EE3F37B401 for ; Wed, 12 Mar 2003 09:19:10 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBD643FAF for ; Wed, 12 Mar 2003 09:19:09 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.fraunhofer.de (8.11.6/8.11.6) with ESMTP id h2CHJ8M20185 for ; Wed, 12 Mar 2003 18:19:08 +0100 (MET) Date: Wed, 12 Mar 2003 18:19:08 +0100 (CET) From: Harti Brandt To: net@freebsd.org Subject: mallocing from if_start Message-ID: <20030312181454.V641@beagle.fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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