mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Allocating huge memeory in loadable kernel module
@ 2002-12-02  1:30 Arun Prasad Velu
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Prasad Velu @ 2002-12-02  1:30 UTC (permalink / raw)
  To: linux-kernel

Hello,

I need 200 to 500 32k buffers in my device driver,
which is a lodable kernel module.
get_free_pages failing to allocate these many buffers.
My requirement is the all these 32k buffers should be
contiguous physical memory and I need a minimum of 200
such buffers.
I'd like to know how to get get these many buffers
(physically contigous) for a loadable kernel module.

Have a nice time.
Regards
Arun


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

* Re: Allocating huge memeory in loadable kernel module
       [not found] <5.1.1.6.2.20021202061729.00cceeb0@pop.gmx.net>
@ 2002-12-02  7:27 ` Arun Prasad Velu
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Prasad Velu @ 2002-12-02  7:27 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: linux-kernel

<<If your module is expected to be loaded into an 
unmodified kernel though, that would be a problem.
>>Yes. Thats the problem and requirement.

Arun

--- Mike Galbraith <efault@gmx.de> wrote:
Hi,

The only way I know of to do this is to use the
bootmem interface to 
steal/reserve ram.  If your module is expected to be
loaded into an 
unmodified kernel though, that would be a problem.

         -Mike


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

end of thread, other threads:[~2002-12-02  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02  1:30 Allocating huge memeory in loadable kernel module Arun Prasad Velu
     [not found] <5.1.1.6.2.20021202061729.00cceeb0@pop.gmx.net>
2002-12-02  7:27 ` Arun Prasad Velu

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

all inboxes | Powered by JetHome®