From: "machael thailer" <dony.he@huawei.com>
To: "Arnaldo Carvalho de Melo" <acme@conectiva.com.br>
Cc: <linux-mips@oss.sgi.com>
Subject: Re: limited Memory question...
Date: Wed, 9 Jan 2002 11:02:23 +0800 [thread overview]
Message-ID: <001b01c198ba$0fc82b00$9b6e0b0a@huawei.com> (raw)
In-Reply-To: 20020109024443.GD23506@conectiva.com.br
> Em Wed, Jan 09, 2002 at 10:39:18AM +0800, machael thailer escreveu:
> > > > I have a question to need you help. Our MIPS-based custom board has only
> > > > 8M memory.When I want to insmod a 24M module, it often panics and says
> > > > "out of memory...".
> > >
> > > a kernel module? 24MiB? ouch, if that is the case, the only way is to get
> > > more memory for your board, as kernel memory is not swappable...
> >
> > Yes, it is a kernel module.
> > But unfortunately, the memory is fixed on our board and we cannot add more memory.
> > Any other ideas?
>
> What does this module does that takes so much memory? One possible idea
> akpm talked about was to reduce NR_CPUS to the number of CPUs in your eval
> board if that is something relevant to the reason why your module takes so
> much memory, does it have a firmware linked? If so, don't link it and load
> it from userspace, block by block, if this is possible, etc, other than
> these suggestions one could only give more ideas if the source code is
> available for review.
24M is the size of the module, not the memory that it takes.
machael.
WARNING: multiple messages have this Message-ID (diff)
From: "machael thailer" <dony.he@huawei.com>
To: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Cc: linux-mips@oss.sgi.com
Subject: Re: limited Memory question...
Date: Wed, 9 Jan 2002 11:02:23 +0800 [thread overview]
Message-ID: <001b01c198ba$0fc82b00$9b6e0b0a@huawei.com> (raw)
Message-ID: <20020109030223.QwA7-PYwZwivlUG1VzizSArrMwwi6bO-djyah03pWq4@z> (raw)
In-Reply-To: 20020109024443.GD23506@conectiva.com.br
> Em Wed, Jan 09, 2002 at 10:39:18AM +0800, machael thailer escreveu:
> > > > I have a question to need you help. Our MIPS-based custom board has only
> > > > 8M memory.When I want to insmod a 24M module, it often panics and says
> > > > "out of memory...".
> > >
> > > a kernel module? 24MiB? ouch, if that is the case, the only way is to get
> > > more memory for your board, as kernel memory is not swappable...
> >
> > Yes, it is a kernel module.
> > But unfortunately, the memory is fixed on our board and we cannot add more memory.
> > Any other ideas?
>
> What does this module does that takes so much memory? One possible idea
> akpm talked about was to reduce NR_CPUS to the number of CPUs in your eval
> board if that is something relevant to the reason why your module takes so
> much memory, does it have a firmware linked? If so, don't link it and load
> it from userspace, block by block, if this is possible, etc, other than
> these suggestions one could only give more ideas if the source code is
> available for review.
24M is the size of the module, not the memory that it takes.
machael.
next prev parent reply other threads:[~2002-01-09 4:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 1:43 limited Memory question machael thailer
2002-01-09 1:43 ` machael thailer
2002-01-09 1:51 ` Arnaldo Carvalho de Melo
2002-01-09 1:51 ` Arnaldo Carvalho de Melo
2002-01-09 2:39 ` machael thailer
2002-01-09 2:39 ` machael thailer
2002-01-09 2:44 ` Arnaldo Carvalho de Melo
2002-01-09 2:44 ` Arnaldo Carvalho de Melo
2002-01-09 3:02 ` machael thailer [this message]
2002-01-09 3:02 ` machael thailer
2002-01-09 3:05 ` Arnaldo Carvalho de Melo
2002-01-09 3:05 ` Arnaldo Carvalho de Melo
2002-01-09 3:13 ` Alan Cox
2002-01-09 3:13 ` machael thailer
2002-01-09 3:13 ` machael thailer
2002-01-09 11:35 ` Ralf Baechle
2002-01-09 3:13 ` Alan Cox
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='001b01c198ba$0fc82b00$9b6e0b0a@huawei.com' \
--to=dony.he@huawei.com \
--cc=acme@conectiva.com.br \
--cc=linux-mips@oss.sgi.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox