Re: 2.2.xx __get_free_pages fails for GFP_KERNEL case

From: David S. Miller (davem@redhat.com)
Date: Thu Apr 13 2000 - 17:53:09 EST


   From: prasanna@veritas.com (Prasanna Narayana)
   Date: Thu, 13 Apr 2000 14:01:24 -0700 (PDT)

   We are getting a failure from __get_free_pages even with GFP_KERNEL
   flag. It turns out that there is enough memory but not in the
   free_areas in the "order" (or more) that we are requesting.

That's right, and the kernel doesn't guarentee that order > 1 requests
will be reliably obtainable in any way.

If you need large contiguous memory, use vmalloc or something similar.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:23 EST