[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Make gcc -align options .config-settable
On Friday 08 October 2004 17:30, Grzegorz Kulewski wrote:
> > Also bencmarking people may do little research on real usefulness of
> > various kinds of alignment.
> I think that removing aligns completly will be very bad. I am Gentoo user
> and I set my user space CFLAGS for all system to -falign-loops
> -fno-align-<everything else>. I did not tested it in depth, but my simple
> tests show that unaligning loops is a very bad idea. Unaligning functions

That depends on how often that loop runs. 90% of code runs only
10% of time. I think ultimately we want to mark other 10% of code with:

int __hotpath often_called_func()

Rest of code is to be optimized for size.

> is safer since small and fast functions should be always inlined.

Concept of alignment does not apply to inlined functions at all.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:06    [W:0.062 / U:4.452 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site