Subject: Re: Nuking mbuf macros
To: Jason Thorpe <thorpej@wasabisystems.com>
From: None <roberto@redix.it>
List: tech-kern
Date: 03/23/2004 17:20:26
>
> On Mar 22, 2004, at 10:44 PM, Matt Thomas wrote:
>
>> Translating them to inline functions wouldn't bother me much.
>> On some architectures the call overhead can be quite high (VAX).
>>
>> But I want to see performance numbers for a number of architectures
>> including some of the older ones like m68k, vax, alpha.
>
> Yah, platforms where changing them to non-inline functions is likely to
> be a win:
>
> * alpha
> * Xscale (has branch prediction that optimizes function calls
> nicely)
> * mips
> * modern IA32 (Xeon, P-III, P-IV)
>
> Platforms where it is likely to be a lose:
>
> * vax
> * m68k
> * ns32k
> * older IA32
>
> -- Jason R. Thorpe <thorpej@wasabisystems.com>
>
>
When you say "inline", do you mean "C inline function" or simply a "C
macro" ?
Roberto