Re: __alloc_pages 4 order allocation failed

Ho Chak Hung (hunghochak@netscape.net)
Wed, 11 Jul 2001 13:19:45 -0400


Hi,
but there isn't any call in the module to allocate 4 order pages. There are only calls to allocate 0 order pages. alloc_pages(GFP_KERNEL, 0)is the only call to allocate page in the whole module.

Mike Galbraith <mikeg@wen-online.de> wrote:
>
> On Tue, 10 Jul 2001, Ho Chak Hung wrote:
>
> > Hi,
> >
> > When I run a module, sometimes it gives such an error __alloc_pages 4 order allocation failed.
> > However, there is only 0 order page allocation function call within the whole module.
> > Does anyone know where does the 4 order allocation failure comes from?
> > Thanks
>
> Memory fragmentation.  It is never safe to assume that high order
> allocations will succeed.
>
>     -Mike
>
>
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/