From owner-freebsd-hackers Thu Aug 24 16:32:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id QAA11548 for hackers-outgoing; Thu, 24 Aug 1995 16:32:20 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id QAA11531 ; Thu, 24 Aug 1995 16:32:16 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA09192; Thu, 24 Aug 95 16:36:58 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9508242236.AA09192@cs.weber.edu> Subject: sys/malloc.h To: hackers@FreeBSD.org, current@FreeBSD.org Date: Thu, 24 Aug 95 16:36:57 MDT X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk Some kernel memory allocation issues: 1) Does it seem to anyone else as if the statistic's gathering macros on the MALLOC/FREE are rather bizarre? 2) Has anyone else noticed the mixing of FREE/free on cn_pnbuf elements of nameidata structures? Doesn't this seem broken, considering the use of MALLOC in the non-'HASBUF' case for allocation in all cases in vfs_lookup.c? Won't this fail for the case of a kernel without either KMEMSTATS or DIAGNOSTIC defined? Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.