Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 11:43:19 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Xavier Galleri <xgalleri@enition.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Need help for kernel crash dump analysis
Message-ID:  <20010111114318.C7240@fw.wintelcom.net>
In-Reply-To: <3A5E090B.40601@enition.com>; from xgalleri@enition.com on Thu, Jan 11, 2001 at 08:27:07PM %2B0100
References:  <20010111163903.E6FF737B400@hub.freebsd.org> <3A5DE59F.6060602@enition.com> <3A5E090B.40601@enition.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Xavier Galleri <xgalleri@enition.com> [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




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