[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 12:20, Andi Kleen wrote:
> Denis Vlasenko <> writes:
> > Resend.
> >
> > With all alignment options set to 1 (minimum alignment),
> > I've got 5% smaller vmlinux compared to one built with
> > default code alignment.
> >
> > Rediffed against 2.6.9-rc3.
> > Please apply.
> I agree with the basic idea (the big alignments also always annoy
> me when I look at disassembly), but I think your CONFIG options
> are far too complicated. I don't think anybody will go as far as
> to tune loops vs function calls.
> I would just do a single CONFIG_NO_ALIGNMENTS that sets everything to
> 1, that should be enough.

For me, yes, but there are people which are slightly less obsessed
with code size than me.

They might want to say "try to align to 16 bytes if
it costs less than 5 bytes" etc.

Also bencmarking people may do little research on real usefulness of
various kinds of alignment.
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:11.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site