svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

Adrian Chadd adrian at freebsd.org
Mon Jun 2 19:27:48 UTC 2014


On 2 June 2014 12:03, Ian Lepore <ian at freebsd.org> wrote:
> On Mon, 2014-06-02 at 11:42 -0700, Marcel Moolenaar wrote:
>> On Jun 2, 2014, at 11:27 AM, Adrian Chadd <adrian at freebsd.org> wrote:
>>
>> > .. and actually, bikeshedding for a moment, would we be able to move a
>> > lot of these accessor methods over to inlines? Would that break the
>> > Juniper way of doing things?
>>
>> That would definitely break Juniper as it doesn't give a stable
>> ABI.
>>
>> I've suggested an approach that allows for both, but it was deemed
>> unnecessary. The argument being that the function call overhead is
>> negligible.
>>
>> We can always revisit that decision if needed...
>>
>
> In my experience, function call overhead is anything but minimal,
> especially on ARM platforms.

Same on MIPS.



-a


More information about the svn-src-head mailing list