Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KamSV-0008Bc-G2 for mharc-grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KamSU-0008AD-7y for grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KamSS-00087v-IS for grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:17 -0400 Received: from [199.232.76.173] (port=55389 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KamSS-00087o-Di for grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:16 -0400 Received: from mx20.gnu.org ([199.232.41.8]:56635) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KamSR-0004E5-Uz for grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:16 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KamSQ-0001aZ-SH for grub-devel@gnu.org; Wed, 03 Sep 2008 03:07:15 -0400 Received: from [85.180.19.197] (e180019197.adsl.alicedsl.de [85.180.19.197]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1KamSP3wBq-0007E8; Wed, 03 Sep 2008 09:07:14 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <1220398682.23879.70.camel@localhost> References: <48BD4C52.6040308@gmail.com> <1220367299.23879.15.camel@localhost> <48BD62BE.7090507@gmail.com> <1220373059.23879.25.camel@localhost> <48BD8847.9030502@gmail.com> <1220386216.23879.55.camel@localhost> <48BDBC96.3010602@gmail.com> <1220398682.23879.70.camel@localhost> Content-Type: text/plain; charset=UTF-8 Date: Wed, 03 Sep 2008 09:07:13 +0200 Message-Id: <1220425633.4164.19.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V01U2FsdGVkX18ukG4YPxdJl3+P4q3rh+TlXqAmpGFR16OazcH HwEl5a73sq6Hk+QLZrHk6of/HTzW+2pq/k+TZdAGbrJdLrp9w6 gUSKO8oipP66S09zEc+D2ZMWemuuz+S X-detected-kernel: by mx20.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Sendkey patch 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: Wed, 03 Sep 2008 07:07:18 -0000 Am Mittwoch, den 03.09.2008, 01:38 +0200 schrieb Javier Mart=C3=ADn: > But ata and reiserfs > are quite the bloaters... The reiserfs case is particularly strange: in > the linux kernel, the reiserfs module is 50% bigger than ext3.ko; while > in GRUB, reiserfs.mod (without journaling) is twice the size of ext2.mod > (which includes full support for ext2, partial journal support in ext3 > and extents in ext4). ata.mod needs work anyway to be ready to end up in core.img fs/ext2.c doestn't support the journaling at all. The code was reverted, just not 100% complete. The structures are still defined but not used, just use your favourite editor and search for `journal'. But comparing the size difference between ext2.ko and reiserfs.ko (or however exactly it's called, I used it ages ago last) with the size difference of grub2's ext2.mod and reiserfs.mod is probable like apples and oranges. Kernel has full support for everything, wheres grub2 only needs small read support. > Thus, while you are right in prioritizing kernel size; why not optimize > reiserfs a bit instead of killing our (and future maintainers') eyes and > brains to shave less than 40 bytes from kernel? I suppose the story > would be similar with ata, because it is a new module that is yet in > development. If you can reduce the size of the modules, without making the code ugly then feel free to do so, but please keep things consistently to the current commited code. If you want to introduce new ideas/concepts then I suggest you do a [RFC] topic on the list to discuss it first. --=20 Felix Zielcke