public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sched.c: why -fno-omit-frame-pointer?
@ 2007-08-19 14:17 Adrian Bunk
  2007-08-19 21:05 ` Arjan van de Ven
  2007-08-19 23:00 ` Andi Kleen
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2007-08-19 14:17 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Andreas Schwab, Alan Modra, David Mosberger-Tang

kernel/sched.c gets compiled with -fno-omit-frame-pointer, and this was 
already done in kernel 1.0 (sic).

Later, it has been modified to be this way only on some architectures.

It might not be an earthshaking amount, but removing it saves some 
bytes, and there's no visible breakage when running the modified kernel 
on i386.

$ ls -la kernel/sched.o*
-rw-rw-r-- 1 bunk bunk 25600 2007-08-19 16:10 kernel/sched.o
-rw-rw-r-- 1 bunk bunk 26084 2007-08-19 16:03 kernel/sched.o.old
$ size kernel/sched.o*
   text    data     bss     dec     hex filename
  11835     184    2000   14019    36c3 kernel/sched.o
  12321     184    2000   14505    38a9 kernel/sched.o.old
$ 

Is the -fno-omit-frame-pointer still required for some reason, or is 
this a relict that could be removed?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-23 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19 14:17 sched.c: why -fno-omit-frame-pointer? Adrian Bunk
2007-08-19 21:05 ` Arjan van de Ven
2007-08-19 23:00 ` Andi Kleen
2007-08-23 11:30   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox