On Mon, 25 Sep 2000, Alexander Viro wrote:
> On Mon, 25 Sep 2000, Ingo Molnar wrote:
> > yep, i agree. I'm not sure what the biggest allocation is, some drivers
> > might use megabytes or contiguous RAM?
> Stupidity has no limits...
Blame the hardware designers... and give me my big allocations. :)
Sounds drivers (not mine though, <g>) do stuff like
order = 20; /* just a made-up high number*/
while ((order-- > 0) && (mem == NULL)) {
mem = __get_free_pages (GFP_KERNEL, order);
}
/* use sound buffer 'mem' */
Older or modern, less-than-cool framegrabbers need tons of contiguous
memory too...
Jeff
-
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/
This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:15 EST