lkml.org 
[lkml]   [1996]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Problem: __inline__ functions in the kernel & cli()/sti() latency measurement
Date
> 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).

Alan



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.086 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site