From owner-freebsd-hackers Wed Nov 11 06:51:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA22379 for freebsd-hackers-outgoing; Wed, 11 Nov 1998 06:51:26 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Thingol.KryptoKom.DE (Thingol.KryptoKom.DE [194.245.91.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA22373 for ; Wed, 11 Nov 1998 06:51:24 -0800 (PST) (envelope-from Reinier.Bezuidenhout@KryptoKom.DE) Received: (from mail@localhost) by Thingol.KryptoKom.DE (8.8.7/8.8.4) id PAA07695; Wed, 11 Nov 1998 15:51:08 +0100 Received: from cirdan.kryptokom.de by via smtpp (Version 1.1.1beta6) id kwa07693; Wed Nov 11 15:50:51 1998 Received: by Cirdan.KryptoKom.DE (8.8.5/8.8.5) with ESMTP id PAA26260; Wed, 11 Nov 1998 15:47:32 +0100 Received: (from bez@localhost) by borg.kryptokom.de (8.8.8/8.8.8) id PAA25265; Wed, 11 Nov 1998 15:53:45 +0100 (CET) (envelope-from bez) From: Reinier Bezuidenhout Message-Id: <199811111453.PAA25265@borg.kryptokom.de> Subject: Re: Malloc in the kernel "conical" panic In-Reply-To: <199811110901.BAA13927@root.com> from David Greenman at "Nov 11, 1998 1: 1:34 am" To: dg@root.com Date: Wed, 11 Nov 1998 15:53:45 +0100 (CET) Cc: tlambert@primenet.com, grog@lemis.com, Reinier.Bezuidenhout@KryptoKom.DE@Cirdan.KryptoKom.DE, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi .... Ok .. so here I am, sitting with the conical hat .... the double panic was not caused by the malloc ... :) something I did wrong .... The malloc seemed to have worked fine ... the only thing that still bothers me, is why I got data blocks of 1024 entries in the array of pointers being zero'd .... It seems that with the one big malloc I just avoid the problem as I still don't know who/what was zero'ing the entires when doing a malloc, mcopy, free using malloc and M_DEVBUF, WAIT_OK ... Reinier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message