[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message: "0-order allocation failed" ???



On Thu, 2006-03-02 at 12:00 +1300, Xiangfei Jia wrote:
> I'm writing a kernel module. Most of the time, when I insert the
> module into the kernel, I got the error messgage from the kernel
> saying:
> __alloc_pages: 0-order allocation failed (gfp=0x20/0)
> 
> I think the error message says that there is not a single page to be
> used for allocation. BUT, my module doesn't use a lot memory. I
> checked the message usage after inserting the module, there are still
> more free memory available. I'm quite confused what causes the
> problem. Can I get some help to figure out the problem??


Source code?

Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/