Re: Problem: __inline__ functions in the kernel & cli()/sti() latency measurement

Warner Losh (imp@village.org)
Tue, 11 Jun 1996 14:51:28 -0600


: > what is the point of using __inline__ functions ...
: >
: > __inline__ void foo( arg ) {
:
: Arg is evaluated once. You don't get burned by nasty macro expansion
: side effects (especially since we nest inlines 3 deep in places).

Also, you can't reutrn a value from a macro like that. You can from
an inline function.

Warner