Subject: Re: Nuking mbuf macros
To: None <junyoung@NetBSD.org>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: tech-kern
Date: 03/23/2004 15:12:33
> The attached patch turns mbuf macros into wrappers to real functions. With
> the patch applied GENERIC/i386 kernel is 37KB smaller.
>
> From commit log of the same change made in DragonFly BSD:
>
> .AN N NukeN hugeN mbufN macrosN stageN 1/2:N RemoveN massiveN inlineN mbufN macrosN toN reduce*B
> .AN N L1/L2N cacheN pollution.N N Est.N performanceN improvementN ofN 4-6%N andN theN kernel*B
> .AN N isN 42KBN smaller.*B
>
> Is it okay?
did DragonFly folks measure function call overhead due to the change?
(overall performance improvement of 4-6% it sounds good, but just to
make sure)
itojun