public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux driver:  __get_free_pages()
@ 2001-01-11 20:39 Paul Powell
  2001-01-11 19:09 ` Arnaldo Carvalho de Melo
  2001-01-11 21:01 ` Richard B. Johnson
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Powell @ 2001-01-11 20:39 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-11 21:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-11 20:39 Linux driver: __get_free_pages() Paul Powell
2001-01-11 19:09 ` Arnaldo Carvalho de Melo
2001-01-11 21:01 ` Richard B. Johnson
2001-01-11 19:26   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox