Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262725AbTHZOmd (ORCPT ); Tue, 26 Aug 2003 10:42:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262695AbTHZOm3 (ORCPT ); Tue, 26 Aug 2003 10:42:29 -0400 Received: from i238008.ppp.asahi-net.or.jp ([61.125.238.8]:13548 "EHLO mitou.y-sato.ddo.jp") by vger.kernel.org with ESMTP id S262725AbTHZOlM (ORCPT ); Tue, 26 Aug 2003 10:41:12 -0400 Date: Tue, 26 Aug 2003 23:41:09 +0900 Message-ID: From: Yoshinori Sato To: Adrian Bunk Cc: linux kernel Mailing List Subject: Re: [2.6 patch] add a config option for -Os In-Reply-To: <20030825224717.GZ7038@fs.tum.de> References: <20030825224717.GZ7038@fs.tum.de> User-Agent: Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) LIMIT/1.14.7 (Fujiidera) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 34 At Tue, 26 Aug 2003 00:47:17 +0200, Adrian Bunk wrote: > > The patch below adds a config option for compiling the kernel with -Os. > > Compared to the last patch, the option moved to the embedded to the > General Setup menu and depends on EXPERIMENTAL instead of EMBEDDED > (retionale: it might even produce a faster kernel but it's less tested). > > I removed the special cases in the arm, arm26 and h8300 Makefiles, users > on these architectures can now use OPTIMIZE_FOR_SIZE. > > Compiling with this option enabled produced a working kernel for me on > i386. > An idea do not change -O2, and to add specification of -Os to with "OPTIMIZE_SIZE" ? If there are a few the ones, degradation of speed means. vmlinux size of h8300 -O2 -Os -O2&-Os .text 561200 554368 555088 .data 59148 58612 58868 .bss 45244 45260 45244 total 665592 658240 659200 -- Yoshinori Sato - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/