On 07.16, Gwenole Beauchesne wrote:
> Hi,
>
> > After some binary search and a 'couple' kernel builds, I narrowed the
> > problem to mm/memory.c. With that file built at -O1:
> >
> > CFLAGS_memory.o = -O1
>
> Very good! There are also other new options at -O2 related to profiling
> (in 3.3-hammer) but I don't exactly remember their names. If you could
> also try with them disabled.
>
This is even better: -Os _WORKS_
This narrows search space. From info gcc:
`-Os'
Optimize for size. `-Os' enables all `-O2' optimizations that do
not typically increase code size. It also performs further
optimizations designed to reduce code size.
`-Os' disables the following optimization flags:
-falign-functions -falign-jumps -falign-loops
-falign-labels -freorder-blocks -fprefetch-loop-arrays
I will try to get the assembler listings at -O2 and -Os and compare...
--
J.A. Magallon <[EMAIL PROTECTED]> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre5 (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-0.2mdk))