All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: christos gentsis <christos_gentsis@yahoo.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel optimization
Date: Fri, 22 Jul 2005 22:14:16 +0200	[thread overview]
Message-ID: <20050722201416.GM3160@stusta.de> (raw)
In-Reply-To: <42E14134.1040804@yahoo.co.uk>

On Fri, Jul 22, 2005 at 07:55:48PM +0100, christos gentsis wrote:

> hello

Hi Chris,

> i would like to ask if it possible to change the optimization of the 
> kernel from -O2 to -O3 :D, how can i do that? if i change it to the top 
> level Makefile does it change to all the Makefiles?

search for the line with
  CFLAGS          += -O2
and change this to -O3.

This works for most Makefile's except for the one's that manually
set -Os.

> And let's say that i change it... does this generate any problems with 
> the space that the kernel will take? (the kernel will be much larger)

It's completely untested.
And since it's larger, it's also slower.

> Thanks
> Chris

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


  parent reply	other threads:[~2005-07-22 20:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22 18:55 kernel optimization christos gentsis
2005-07-22 19:52 ` David Lang
2005-07-22 20:15   ` Adrian Bunk
2005-07-22 20:14 ` Adrian Bunk [this message]
2005-07-22 21:11   ` christos gentsis
2005-07-23 14:34     ` Simon Strandman
2005-07-23  5:35   ` Al Boldi
2005-07-23  6:30   ` cutaway
2005-07-23 19:50     ` Alan Cox
2005-07-23 22:03       ` cutaway
     [not found] <200507231849.j6NInMPO003728@laptop11.inf.utfsm.cl>
2005-07-26  5:22 ` Al Boldi
2005-07-26  9:22   ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-07-27  3:53 Al Boldi
2005-07-27  4:20 ` Lee Revell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050722201416.GM3160@stusta.de \
    --to=bunk@stusta.de \
    --cc=christos_gentsis@yahoo.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.