From: Prashant Alange <prashant.alange@gmail.com>
To: Linuxppc-embedded@ozlabs.org
Subject: Problem allocating large meory using m8260_cpm_hostalloc
Date: Thu, 28 Jul 2005 09:50:04 -0700 [thread overview]
Message-ID: <6d145b4205072809505b101b48@mail.gmail.com> (raw)
Hi everyone,
I am having problem in allocating large memory using=20
m8260_cpm_hostalloc function in my driver. (Approx 256 Kbytes). I
tried increaing the NUM_CPM_HOST_PAGES macro in cpm_8260.h file to 64
but still it fails for 200K of memory request. This macro is used by
alloc_bootmem_pages() function. I have read that we should use this
function if we intend to have consecutive memory pages allocated.
Could anyone tell what I am missing here?
How can I allocate large memory in my driver using this hostalloc function?
Thanks for your time.
Prashant
next reply other threads:[~2005-07-28 16:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-28 16:50 Prashant Alange [this message]
2005-07-28 18:06 ` Problem allocating large meory using m8260_cpm_hostalloc Dan Malek
2005-07-28 18:29 ` Prashant Alange
2005-07-28 19:03 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2005-07-28 17:29 Goodman, Brad
2005-07-28 17:55 ` Prashant Alange
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=6d145b4205072809505b101b48@mail.gmail.com \
--to=prashant.alange@gmail.com \
--cc=Linuxppc-embedded@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 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.