From: Robin Holt <holt@sgi.com>
To: Alessio Sangalli <alesan@manoweb.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 8MB physical memory allocation
Date: Thu, 11 Sep 2008 04:35:08 -0500 [thread overview]
Message-ID: <20080911093508.GD23082@sgi.com> (raw)
In-Reply-To: <48C89ECD.6050900@manoweb.com>
On Wed, Sep 10, 2008 at 09:30:05PM -0700, Alessio Sangalli wrote:
> Hi, I'm writing a driver for a video adapter that needs to allocate 8MB
> (maximum resolution) in physical, contiguos memory. I am working on a
> ARM9 platform.
Not sure about arm9, but on ia64, alloc_pages does the trick.
alloc_pages(GFP_KERNEL, 33-PAGE_SHIFT);
Might be slightly large of an allocation for any time other than boot,
but that is the call.
Thanks,
Robin
prev parent reply other threads:[~2008-09-11 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 4:30 8MB physical memory allocation Alessio Sangalli
2008-09-11 9:35 ` Robin Holt [this message]
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=20080911093508.GD23082@sgi.com \
--to=holt@sgi.com \
--cc=alesan@manoweb.com \
--cc=linux-kernel@vger.kernel.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.