From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM: mm: Could I change module space size or place modules in vmalloc area?
Date: Fri, 3 Jan 2014 13:10:09 +0100 [thread overview]
Message-ID: <201401031310.09930.arnd@arndb.de> (raw)
In-Reply-To: <002001cf07a1$fd4bdc10$f7e39430$@lge.com>
On Thursday 02 January 2014, Gioh Kim wrote:
> I run out of module space because I have several big driver modules.
> I know I can strip the modules to decrease size but I need debug info now.
>
> The default size of module is 16MB and the size is statically defined in the
> header file.
> But a description for the module space size tells that it can be
> configurable at most 32MB.
>
> I have changed the module space size to 18MB and tested my platform.
> It has been looking good.
>
> I am not sure my patch is proper solution.
> Anyway, could I configure the module space size?
>
> Or could I place the modules into vmalloc area?
>
Aside from the good comments that Russell made, I would remark that the
fact that you need multiple megabytes worth of modules indicates that you
are doing something wrong. Can you point to a git tree containing those
modules?
Arnd
WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Gioh Kim <gioh.kim@lge.com>,
Russell King <linux@arm.linux.org.uk>,
linux-mm@kvack.org, HyoJun Im <hyojun.im@lge.com>
Subject: Re: ARM: mm: Could I change module space size or place modules in vmalloc area?
Date: Fri, 3 Jan 2014 13:10:09 +0100 [thread overview]
Message-ID: <201401031310.09930.arnd@arndb.de> (raw)
In-Reply-To: <002001cf07a1$fd4bdc10$f7e39430$@lge.com>
On Thursday 02 January 2014, Gioh Kim wrote:
> I run out of module space because I have several big driver modules.
> I know I can strip the modules to decrease size but I need debug info now.
>
> The default size of module is 16MB and the size is statically defined in the
> header file.
> But a description for the module space size tells that it can be
> configurable at most 32MB.
>
> I have changed the module space size to 18MB and tested my platform.
> It has been looking good.
>
> I am not sure my patch is proper solution.
> Anyway, could I configure the module space size?
>
> Or could I place the modules into vmalloc area?
>
Aside from the good comments that Russell made, I would remark that the
fact that you need multiple megabytes worth of modules indicates that you
are doing something wrong. Can you point to a git tree containing those
modules?
Arnd
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-01-03 12:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 10:04 ARM: mm: Could I change module space size or place modules in vmalloc area? Gioh Kim
2014-01-02 10:04 ` Gioh Kim
2014-01-02 10:13 ` Baruch Siach
2014-01-02 10:13 ` Baruch Siach
2014-01-03 0:39 ` Gioh Kim
2014-01-03 0:39 ` Gioh Kim
2014-01-03 0:47 ` Russell King - ARM Linux
2014-01-03 0:47 ` Russell King - ARM Linux
2014-01-03 2:52 ` Gioh Kim
2014-01-03 2:52 ` Gioh Kim
2014-04-26 2:12 ` Jianguo Wu
2014-04-26 2:12 ` Jianguo Wu
2014-04-29 11:19 ` Will Deacon
2014-04-29 11:19 ` Will Deacon
2014-04-29 11:35 ` Arnd Bergmann
2014-04-29 11:35 ` Arnd Bergmann
2014-04-29 12:40 ` Will Deacon
2014-04-29 12:40 ` Will Deacon
2014-01-03 12:10 ` Arnd Bergmann [this message]
2014-01-03 12:10 ` Arnd Bergmann
2014-01-03 12:22 ` Russell King - ARM Linux
2014-01-03 12:22 ` Russell King - ARM Linux
2014-01-03 13:23 ` Arnd Bergmann
2014-01-03 13:23 ` Arnd Bergmann
2014-03-12 6:38 ` Gioh Kim
2014-03-12 6:38 ` Gioh Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201401031310.09930.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.