All of lore.kernel.org
 help / color / mirror / Atom feed
* kmalloc() allocation.
@ 2000-10-30 15:57 Richard B. Johnson
  2000-10-30 16:06 ` Tigran Aivazian
                   ` (3 more replies)
  0 siblings, 4 replies; 43+ messages in thread
From: Richard B. Johnson @ 2000-10-30 15:57 UTC (permalink / raw)
  To: Linux kernel


Hello,
How much memory would it be reasonable for kmalloc() to be able
to allocate to a module?

Oct 30 10:48:31 chaos kernel: kmalloc: Size (524288) too large 

Using Version 2.2.17, I can't allocate more than 64k!  I need
to allocate at least 1/2 megabyte and preferably more (like 2 megabytes).

There are 256 megabytes of SDRAM available. I don't think it's
reasonable that a 1/2 megabyte allocation would fail, especially
since it's the first module being installed.

The attempt to allocate is memory of type GFP_KERNEL.


Any advice?

Cheers,
Dick Johnson

Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
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] 43+ messages in thread

end of thread, other threads:[~2000-10-31 18:22 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-30 15:57 kmalloc() allocation Richard B. Johnson
2000-10-30 16:06 ` Tigran Aivazian
2000-10-30 16:28   ` Richard B. Johnson
2000-10-30 16:38     ` Tigran Aivazian
2000-10-30 17:57       ` Richard B. Johnson
2000-10-30 16:06 ` John Levon
2000-10-30 16:27   ` Richard B. Johnson
2000-10-30 16:49     ` Jeff Garzik
2000-10-30 16:54       ` Tigran Aivazian
2000-10-30 17:08         ` Jeff Garzik
2000-10-30 18:08           ` Richard B. Johnson
2000-10-30 18:06       ` Richard B. Johnson
2000-10-30 18:10         ` Jeff Garzik
2000-10-30 16:40 ` Rik van Riel
2000-10-31  7:03   ` Mike Galbraith
2000-10-31 10:48   ` Ingo Oeser
2000-10-31 10:48     ` Ingo Oeser
2000-10-31 13:35     ` Rik van Riel
2000-10-31 13:35       ` Rik van Riel
2000-10-31 13:59       ` Richard B. Johnson
2000-10-31 13:59         ` Richard B. Johnson
2000-10-31 15:57         ` Pauline Middelink
2000-10-31 15:17       ` Ingo Oeser
2000-10-31 15:17         ` Ingo Oeser
2000-10-31 16:11         ` Rik van Riel
2000-10-31 16:11           ` Rik van Riel
2000-10-31 18:22           ` Ingo Oeser
2000-10-31 18:22             ` Ingo Oeser
2000-10-31 14:43     ` afei
2000-10-31 14:43       ` afei
2000-10-30 18:22 ` Alan Cox
2000-10-30 18:37   ` Richard B. Johnson
2000-10-31  5:28     ` H. Peter Anvin
2000-10-31  6:11       ` Brian Gerst
2000-10-31  8:44         ` Andi Kleen
2000-10-31 12:58           ` Brian Gerst
2000-10-31 14:48             ` kernel
2000-10-31 15:01               ` Alan Cox
2000-10-31 15:57                 ` kernel
2000-10-31  8:49         ` Tigran Aivazian
2000-10-31  8:54           ` Andi Kleen
2000-10-31  9:07             ` Tigran Aivazian
2000-10-31  9:25               ` Andi Kleen

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.