Re: [Linux-cluster] [PATCH 2/4] fence - Remove GNU-isms

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

 



Bastian Blank wrote:
> 
> This patch removes the GNU-isms in the die defines and replaces them
> with inline functions.

The problem with this is that you have to go above -O2 optimization
to get inline functions.  The macros are always inline.  Also,
If you're going to optimize printf's, then replace:

  fputs("\n", stdout);

with:

  fputc('\n', stdout);

:)


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux