Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 1995 12:06:52 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.org, hackers@FreeBSD.org, terry@cs.weber.edu
Subject:   Re: sys/malloc.h
Message-ID:  <199508250206.MAA25813@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>1)	Does it seem to anyone else as if the statistic's gathering
>	macros on the MALLOC/FREE are rather bizarre?

The seem normal.  The NON-statistics gathering parts have probably
suffered from bitrot since they haven't been the default for so long.
If splhigh() is necessary in malloc(), then splimp() is a bug in
MALLOC()...

>2)	Has anyone else noticed the mixing of FREE/free on cn_pnbuf
>	elements of nameidata structures?  Doesn't this seem broken,

There are many other cases where they are mixed.  This should not be
a problem, since the two versions are supposed to be equivalent.  The
macro versions are supposed to be faster.

Bruce



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