Subject: malloc/MALLOC (Re: CVS commit: src/sys/sys)
To: None <firstname.lastname@example.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 03/21/2006 20:00:32
[ moved from source-changes@ ]
> On Mar 19, 9:31pm, firstname.lastname@example.org (Jason Thorpe) wrote:
> -- Subject: Re: CVS commit: src/sys/sys
> | How about just using __builtin_constant_p() and redirecting to malloc
> | () if false?
> I wanted it to be compile time not run time, so that the code is fixed.
i thought he didn't mean any run time thing.
with __builtin_constant_p, either version of malloc is chosen
at compile time.
i'm not sure if it's a good idea, tho.
i personally support just removing MALLOC.