From: "Sébastien Chrétien" <sebastien.chretien.enseirb@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: Re: ioremap and vmalloc
Date: Fri, 19 Sep 2008 18:34:06 +0200 [thread overview]
Message-ID: <48D3D47E.5050200@gmail.com> (raw)
In-Reply-To: <20080919134933.GA7849@secretlab.ca>
The first is ioremap(0x20000000,0x10000000);
The second is ioremap(0x80000000,0x10000000);
Is it too long
Grant Likely a écrit :
> On Fri, Sep 19, 2008 at 01:15:20PM +0200, =?ISO-8859-1?Q?S=E9bastien_Chr=E9tien_ wrote:
>
>> Hello,
>>
>> When I use ioremap, the second time, I obtain this message :
>>
>> allocation failed: out of vmalloc space - use vmalloc=<size> to increase
>> size.
>> What can I do in order to fix this problem ?
>>
>
> How large are the regions that you are ioremapping? The kernel sets
> aside a fixed amount of the virtual address space for ioremaps, and if
> you exhaust that then more ioremaps will stop working.
>
> g.
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
>
next prev parent reply other threads:[~2008-09-19 16:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 11:15 ioremap and vmalloc Sébastien Chrétien
2008-09-19 13:49 ` Grant Likely
2008-09-19 16:34 ` Sébastien Chrétien [this message]
2008-09-19 16:38 ` Josh Boyer
2008-09-19 16:45 ` Sébastien Chrétien
2008-09-19 16:58 ` Josh Boyer
2008-09-19 17:12 ` Grant Likely
2008-09-19 17:47 ` Sébastien Chrétien
2008-09-19 17:52 ` Sébastien Chrétien
2008-09-22 5:28 ` Benjamin Herrenschmidt
2008-09-19 16:43 ` Grant Likely
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=48D3D47E.5050200@gmail.com \
--to=sebastien.chretien.enseirb@gmail.com \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).