Messages in this thread | | | Date | Wed, 1 Mar 2006 02:36:04 -0800 | From | Andrew Morton <> | Subject | Re: page allocation failure when cached memory is close to the total memory. |
| |
Aubrey <aubreylee@gmail.com> wrote: > > I'm working on the blackfin uclinux. And the kernel version is 2.6.12. > I have an application to malloc 0Mb memory.
You mean 10MB.
The chances of finding 10MB of contiguous free pages are basically nil, so the page allocator doesn't even try to free up pages to attempt to satisfy such a large request. If it can't find the 10MB of free memory immediately, it just gives up.
- 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/
| |