Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756266AbXFIH4D (ORCPT ); Sat, 9 Jun 2007 03:56:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755157AbXFIHzy (ORCPT ); Sat, 9 Jun 2007 03:55:54 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:19833 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755123AbXFIHzx (ORCPT ); Sat, 9 Jun 2007 03:55:53 -0400 Date: Sat, 9 Jun 2007 09:55:52 +0200 (CEST) From: Jan Engelhardt To: "Robert P. J. Day" cc: Kyle McMartin , Christoph Pleger , Linux Kernel Mailing List , jonathan@jonmasters.org Subject: Re: Size of kernel modules In-Reply-To: Message-ID: References: <20070606170534.67b5dea9.Christoph.Pleger@cs.uni-dortmund.de> <20070608034421.GM26717@fattire.cabal.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 27 On Jun 8 2007 08:40, Robert P. J. Day wrote: >> >> If you disable CONFIG_DEBUG_KERNEL, things should go back to normal >> sizes for you. > >grow so much compared to *which other modules*? the ones that came >with your distro? if that's the case, try installing your new modules >with > > # make INSTALL_MOD_STRIP=1 modules_install > >that makes a *huge* difference in the size of the installed modules, >as i learned when i first ran across this on my fedora core system. Definitely. Running depmod on debug-enabled .ko files explodes in a segfault after depmod allocates more and more and more memory (exhausting both my ram and swap). Jan -- - 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/