From owner-freebsd-hackers Thu Jan 11 11:43:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id DF53C37B404 for ; Thu, 11 Jan 2001 11:43:21 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f0BJhJk22386; Thu, 11 Jan 2001 11:43:19 -0800 (PST) Date: Thu, 11 Jan 2001 11:43:19 -0800 From: Alfred Perlstein To: Xavier Galleri Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Need help for kernel crash dump analysis Message-ID: <20010111114318.C7240@fw.wintelcom.net> References: <20010111163903.E6FF737B400@hub.freebsd.org> <3A5DE59F.6060602@enition.com> <3A5E090B.40601@enition.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A5E090B.40601@enition.com>; from xgalleri@enition.com on Thu, Jan 11, 2001 at 08:27:07PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Xavier Galleri [010111 11:27] wrote: > Hi everybody, > > I have reached a point where I am wondering if a call to 'malloc' with > the M_NOWAIT flag is not falling asleep ! M_NOWAIT shouldn't sleep. > In fact, I suspect that the interrupted context is somewhere during a > call to 'malloc' (I increment a counter just before calling malloc and > increment another just after and the difference is one !) while I have > called 'splnet' beforehand, thus normally preventing competing with any > network isr. I assume that this shouldnever occur unless the code is > somewhere calling 'sleep' and provoke acontext switch. if you add 1 to a variable the difference is expected to be one. > Is there anybody who can help on this ? I'm not sure, you need to be more specific/clear. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message