Re: inline keyword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 11, 2016 at 01:39:53PM -0500, Wenda Ni wrote:
> Hi all,
> 
> For a function that is defined static but without an explicit "inline" keyword,
> is there a possibility that compiler will optimize it to be a static inline
> function?

Yes there is.

> We observe that some of the functions defined as static but not "inline" in in
> modules are not present in kernel system table, i.e., can not be found in /proc
> /kallsysms.

The symbols do not need to be in the symbol table if they are static to
the file, the compiler can just drop them as no one else needs to care
about them.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux