[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0706090954310.4353@fbirervta.pbzchgretzou.qr>
Date: Sat, 9 Jun 2007 09:55:52 +0200 (CEST)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: "Robert P. J. Day" <rpjday@...dspring.com>
cc: Kyle McMartin <kyle@...onical.com>,
Christoph Pleger <Christoph.Pleger@...uni-dortmund.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
jonathan@...masters.org
Subject: Re: Size of kernel modules
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists