From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jody Bruchon Subject: CONFIG_SMALL_KERNEL option added Date: Sun, 22 Mar 2015 22:21:50 -0400 Message-ID: <550F78BE.90809@jodybruchon.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: ELKS I've added a new kernel configuration option that reduces the size of the kernel without harmfully changing kernel functionality. CONFIG_SMALL_KERNEL will turn off some unnecessary informational driver initialization messages and the code that is used to generate them. This will be expanded as I find more opportunities in the code to apply it. For now, if you use the current git snapshot with and without this option selected, the results will be something like this: text data bss dec 55840 6984 50884 113708 CONFIG_SMALL_KERNEL=n 55152 6720 50884 112756 CONFIG_SMALL_KERNEL=y -688 -264 0 -952 Change I also updated the kernel defconfig to match currently available options and cleaned out some junk kernel config options that were not referenced anywhere in the actual code. -Jody