From: Andrew Morton <akpm@osdl.org>
To: Aubrey <aubreylee@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: page allocation failure when cached memory is close to the total memory.
Date: Wed, 1 Mar 2006 02:36:04 -0800 [thread overview]
Message-ID: <20060301023604.76ce5658.akpm@osdl.org> (raw)
In-Reply-To: <6d6a94c50603010154hbbcdb68n8cd7e05f7f30aba5@mail.gmail.com>
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.
next prev parent reply other threads:[~2006-03-01 10:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 9:54 Aubrey
2006-03-01 10:36 ` Andrew Morton [this message]
2006-03-02 3:37 ` Aubrey
2006-03-02 4:01 ` Andrew Morton
2006-03-02 4:03 ` Nick Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060301023604.76ce5658.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=aubreylee@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome