From: Paul Powell <moloch16@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Linux driver: __get_free_pages()
Date: Thu, 11 Jan 2001 12:39:33 -0800 (PST) [thread overview]
Message-ID: <20010111203933.17385.qmail@web119.yahoomail.com> (raw)
Our driver is trying to allocate a DMA buffer to flash
an adapter's firmware. This can require as much as
512K ( of contiguous DMA memory ). We are using the
function __get_free_pages( GFP_KERNEL | GFP_DMA, order
) . The call is failing if 'order' is greater than 6.
The problem is seen on systems with system memory of
only 64MB. It works fine on systems with more memory.
Does it make sense that a system with 64MB would not
have 512K ( contiguous ) available? The most that can
be allocated successfully on the 64MB system appears
to be 256K. (Nothing else is running that would eat
up 64MB of memory).
Does this make sense and/or is there another way that
the DMA memory could be allocated successfully?
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-11 20:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-11 20:39 Paul Powell [this message]
2001-01-11 19:09 ` Linux driver: __get_free_pages() Arnaldo Carvalho de Melo
2001-01-11 21:01 ` Richard B. Johnson
2001-01-11 19:26 ` Arnaldo Carvalho de Melo
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=20010111203933.17385.qmail@web119.yahoomail.com \
--to=moloch16@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox