From: "Rogério Brito" <rbrito@ime.usp.br>
To: linux-kernel@vger.kernel.org
Cc: rbrito@ime.usp.br, linuxppc-dev@ozlabs.org, akpm@linux-foundation.org
Subject: [PATCH] powerpc: compile kernel for linkstations optimized for size
Date: Mon, 13 Oct 2008 01:07:03 -0300 [thread overview]
Message-ID: <20081013040703.GA11059@ime.usp.br> (raw)
From: Rogério Brito <rbrito@ime.usp.br>
Since Linkstations and Kuroboxes often have *very* little memory (as
they are embedded systems), it is desirable to get their kernels
compiled optimized for size.
Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
---
I have been using kernels optimized for size on my Kurobox (standard)
for many different releases and I have experienced no problem with this
option enabled. Thus, this patch.
--- linux/arch/powerpc/configs/linkstation_defconfig.old 2008-10-13 00:33:00.000000000 -0300
+++ linux/arch/powerpc/configs/linkstation_defconfig 2008-10-13 00:38:58.000000000 -0300
@@ -90,7 +90,7 @@ CONFIG_NAMESPACES=y
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_SYSCTL_SYSCALL=y
--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
next reply other threads:[~2008-10-13 4:07 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 4:07 Rogério Brito [this message]
2008-10-13 4:51 ` [PATCH] powerpc: enable heap randomization for linkstations Rogério Brito
2008-10-13 18:05 ` Guennadi Liakhovetski
2008-10-13 18:44 ` Scott Wood
2008-10-13 19:27 ` Guennadi Liakhovetski
2008-10-13 20:56 ` Rogério Brito
2008-10-19 2:53 ` Rogério Brito
2008-10-19 3:16 ` Rogério Brito
2008-10-19 20:59 ` Guennadi Liakhovetski
2008-10-19 21:32 ` Jon Smirl
2008-10-19 21:49 ` Guennadi Liakhovetski
2008-10-19 22:05 ` Jon Smirl
2008-10-19 22:28 ` Guennadi Liakhovetski
2008-10-19 22:40 ` Jon Smirl
2008-10-20 5:55 ` Guennadi Liakhovetski
2008-10-20 12:19 ` Jon Smirl
2008-10-21 6:42 ` [REGRESSION 2.6.27] i2c-mpc not probing on linkstation (was Re: [PATCH] powerpc: enable heap randomization for linkstations) Guennadi Liakhovetski
2008-10-21 7:19 ` [REGRESSION 2.6.27] i2c-mpc not probing on linkstation Rogério Brito
2008-10-21 15:16 ` [PATCH] powerpc: enable heap randomization for linkstations Scott Wood
2008-10-21 15:26 ` Guennadi Liakhovetski
2008-10-21 15:32 ` Scott Wood
2008-10-17 9:38 ` Rogério Brito
2008-10-28 13:58 ` Kumar Gala
2008-10-13 18:03 ` [PATCH] powerpc: compile kernel for linkstations optimized for size Guennadi Liakhovetski
2008-10-13 21:28 ` Rogério Brito
2008-10-17 9:37 ` Rogério Brito
2008-10-28 13:58 ` Kumar Gala
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=20081013040703.GA11059@ime.usp.br \
--to=rbrito@ime.usp.br \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).