Messages in this thread | | | Subject | Re: __alloc_pages: 4-order allocation failed | From | Jes Sorensen <> | Date | 05 Jul 2001 23:25:10 +0200 |
| |
>>>>> "Ho" == Ho Chak Hung <hunghochak@netscape.net> writes:
Ho> Hi, I got the error __alloc_pages: 4-order allocation failed in a Ho> module that uses and frees a lot of pages. Basically, I am trying Ho> implement a page cache for the module. First, I keep allocating Ho> pages using page_cache_alloc() until it fails, then I free a whole Ho> bunch of pages using freepages((unsigned long)page_address(page))
Ho> Would anyone please give me some advice about how to solve this Ho> problem? Thanks a lot.
You ran out of memory, ie. there were no more free blocks of 16 consecutive pages available in the system. This is what happens on a system with little memory or which is loaded with memory intensive applications.
Jes - 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/
| |