__alloc_pages: 4-order allocation failed

Ho Chak Hung (hunghochak@netscape.net)
Mon, 02 Jul 2001 12:59:52 -0400


Hi,

I got the error __alloc_pages: 4-order allocation failed in a module that uses and frees a lot of pages.
Basically, I am trying implement a page cache for the module. First, I keep allocating pages using page_cache_alloc() until it fails, then I free a whole bunch of pages using freepages((unsigned long)page_address(page))

Would anyone please give me some advice about how to solve this problem?
Thanks a lot.

__________________________________________________________________
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/