Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754106AbYH0A4K (ORCPT ); Tue, 26 Aug 2008 20:56:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752693AbYH0Azz (ORCPT ); Tue, 26 Aug 2008 20:55:55 -0400 Received: from rex.securecomputing.com ([203.24.151.4]:34721 "EHLO cyberguard.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752414AbYH0Azy (ORCPT ); Tue, 26 Aug 2008 20:55:54 -0400 Message-ID: <48B4A577.3020303@snapgear.com> Date: Wed, 27 Aug 2008 10:53:11 +1000 From: Greg Ungerer User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Linus Torvalds CC: Parag Warudkar , Adrian Bunk , Rusty Russell , "Alan D. Brunelle" , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Andrew Morton , Arjan van de Ven , Ingo Molnar , linux-embedded@vger.kernel.org Subject: Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected References: <48B313E0.1000501@hp.com> <200808261111.19205.rusty@rustcorp.com.au> <20080826183051.GB10925@cs181140183.pp.htv.fi> <20080826205916.GB11734@cs181140183.pp.htv.fi> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1797 Lines: 42 Linus Torvalds wrote: > On Tue, 26 Aug 2008, Parag Warudkar wrote: >> This is something I never understood - embedded devices are not going >> to run more than a few processes and 4K*(Few Processes) >> IMHO is not worth a saving now a days even in embedded world given >> falling memory prices. Or do I misunderstand? > > Well, by that argument, 1% of kernel size doesn't matter either.. > > 1% of a kernel for an embedded device is roughly 10-30kB or so depending > on how small you make the configuration. > > If that matters, then so should the difference of 3-8 processes' kernel > stack usage when you have a 4k/8k stack choice. > > And they _all_ will have at least 3-8 processes on them. Even the simplest > ones will tend to have many more. I have some simple devices (network access/routers) with 8MB of RAM, at power up not really being configured to do anything running 25 processes. (Heck there is over 10 kernel processes running!). Configure some interfaces and services and that will easily push past 40. I'd be happy with a 160k saving :-) The init memory being freed at the end of the kernel boot is 88k, 4k stacks could save more than that. Regards Greg ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com -- 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/