All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: =?ISO-8859-1?Q?S=E9bastien_Chr=E9tien_
	<sebasti?==?ISO-8859-1?Q?en.chretien.enseirb@gmail.com>,
	?=@secretlab.ca
Cc: linuxppc-dev@ozlabs.org
Subject: Re: ioremap and vmalloc
Date: Fri, 19 Sep 2008 07:49:34 -0600	[thread overview]
Message-ID: <20080919134933.GA7849@secretlab.ca> (raw)
In-Reply-To: <319b0ac50809190415g6d132058l9bb8521046502eab@mail.gmail.com>

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.

  reply	other threads:[~2008-09-19 14:01 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 [this message]
2008-09-19 16:34   ` Sébastien Chrétien
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=20080919134933.GA7849@secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=?=@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sebasti?==?ISO-8859-1?Q?en.chretien.enseirb@gmail.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 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.