Subject: Re: CVS commit: src/sys/nfs
To: None <itojun@iijlab.net>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 05/28/2003 22:22:54
On Wednesday, May 28, 2003, at 07:57 PM, itojun@iijlab.net wrote:
> i remember someone (thorpej?) proposed to get rid of uppercase version
> by having some C inline function for free/malloc. what is the status?
It was cgd's suggestion. Basically, use __builtin_constant_p() to
determine if the argument is a constant, and if not, have MALLOC() make
the function call instead of doing the expensive inline.
-- Jason R. Thorpe <thorpej@wasabisystems.com>