public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* __you_cannot_kmalloc_that_much
@ 2003-06-19 18:33 Luck, Tony
  2003-06-19 18:38 ` __you_cannot_kmalloc_that_much David Mosberger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luck, Tony @ 2003-06-19 18:33 UTC (permalink / raw)
  To: linux-ia64

While trying to compile the latest pull from
the lia64.bkbits.net:8080/linux-ia64-2.5
repository I hit the "you_cannot_kmalloc_that_much"
message in the final link.

The culprit is in

	drivers/usb/host/uhci-debug.c

which contains:

#define MAX_OUTPUT      (PAGE_SIZE * 16)

	...

	up->data = kmalloc(MAX_OUTPUT, GFP_KERNEL);

With the default 16k page size we are trying to
allocate 256K of memory, which is bigger that the
largest size pool in include/linux/kmalloc_sizes.h


Do we need a larger pool (I don't think so) or is
this allocation excessive?

-Tony

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

end of thread, other threads:[~2003-06-19 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 18:33 __you_cannot_kmalloc_that_much Luck, Tony
2003-06-19 18:38 ` __you_cannot_kmalloc_that_much David Mosberger
2003-06-19 19:03 ` __you_cannot_kmalloc_that_much Luck, Tony
2003-06-19 19:15 ` __you_cannot_kmalloc_that_much David Mosberger

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