Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mh7AR-0001b5-5O for mharc-grub-devel@gnu.org; Fri, 28 Aug 2009 15:31:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh7AO-0001aq-1b for grub-devel@gnu.org; Fri, 28 Aug 2009 15:31:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh7AI-0001aU-4G for grub-devel@gnu.org; Fri, 28 Aug 2009 15:31:18 -0400 Received: from [199.232.76.173] (port=58549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh7AI-0001aR-0n for grub-devel@gnu.org; Fri, 28 Aug 2009 15:31:14 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:54657) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh7AH-0003Yt-G6 for grub-devel@gnu.org; Fri, 28 Aug 2009 15:31:13 -0400 Received: by bwz22 with SMTP id 22so2117200bwz.42 for ; Fri, 28 Aug 2009 12:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FEFhurMgpcpMlmNxsT9VhzNXx8rGWWsF1fKuPC7ZcVI=; b=IiUc86mUIRF7xOamdVgKBrWsk4Ug7+tL16aobdf6Z48rfYYhnePbC+0lTMJgjcaI1U OI6xYqXuiBabOY+ypbIb2VEfQ2beJInFlTMhHlb1eQ2opKoo+36rdmRWISYR8xkjpsBO PFLEBDB/T2ZF9yL9cd0/wksBoW0ULfoafkeoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=apmglzE2uJogG4B2+lpqYt/8WTpz/v5OmkO1u2kPCDL5JywoZTO28NCdTXzvOn3RUc 3NseoX7uCcuwiXQWIq5qZptGBRcPoo0juCx4Y95alVkEsecIOkeeMwU9Qsce8A5rt/rF upKGiKSYWMNB3wipWx+0H82LVkfDJeDmOZWFE= MIME-Version: 1.0 Received: by 10.204.160.143 with SMTP id n15mr1210142bkx.183.1251487871292; Fri, 28 Aug 2009 12:31:11 -0700 (PDT) Date: Fri, 28 Aug 2009 21:31:11 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [RFC] -Os and -O2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 19:31:20 -0000 Hello. Current GRUB2 optimisation strategy is to compile whole grub with -Os but only kernel, bus modules, disk modules, partmap and fs modules have size concerns. Graphical modules have speed concerns. So I propose following optimisation strategy: -Os for kernel, bus modules, disk modules, partmap and fs -O2 for other modules -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git