Subject: Re: CVS commit: src/sys/kern (MALLOC usage)
To: Jason Thorpe <thorpej@shagadelic.org>
From: Steve Woodford <scw@netbsd.org>
List: tech-kern
Date: 06/10/2005 09:00:15
On Thursday 09 June 2005 17:15, Jason Thorpe wrote:
> On Jun 8, 2005, at 1:24 AM, Steve Woodford wrote:
> > From MALLOC(9):
> > "In the comparison to malloc() and free() functions, the MALLOC()
> > and FREE() macros may be faster, at the cost of increased code
> > size."
>
> Also, MALLOC() should only be used with a compile-time constant.
> This should be noted in the man page.
It already is, in the sentence before the one I pasted.
Cheers, Steve