From: Andrea Arcangeli <andrea@suse.de>
To: Shane Wegner <shane@cm.nu>
Cc: linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@transmeta.com>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: __alloc_pages: 0-order allocation failed still in -pre12
Date: Thu, 20 Sep 2001 04:52:35 +0200 [thread overview]
Message-ID: <20010920045235.N720@athlon.random> (raw)
In-Reply-To: <Pine.OSF.4.21.0109121502420.18976-100000@prfdec.natur.cuni.cz> <Pine.OSF.4.21.0109191615070.3826-100000@prfdec.natur.cuni.cz> <20010919153441.A30940@cm.nu> <20010920004543.Z720@athlon.random> <20010919193128.A8650@cm.nu> <20010919193649.A8824@cm.nu>
In-Reply-To: <20010919193649.A8824@cm.nu>; from shane@cm.nu on Wed, Sep 19, 2001 at 07:36:49PM -0700
On Wed, Sep 19, 2001 at 07:36:49PM -0700, Shane Wegner wrote:
> On Wed, Sep 19, 2001 at 07:31:28PM -0700, Shane Wegner wrote:
> > On Thu, Sep 20, 2001 at 12:45:43AM +0200, Andrea Arcangeli wrote:
> > > On Wed, Sep 19, 2001 at 03:34:41PM -0700, Shane Wegner wrote:
> > > >
> > > > __alloc_pages: 0-order allocation failed (gfp=0x20/0) from
> > > > c012e052
> > > > __alloc_pages: 0-order allocation failed (gfp=0x20/0) from
> > > > c012e052
> > > > __alloc_pages: 0-order allocation failed (gfp=0x20/0) from
> > > > c012e052
> > >
> > > yes, please try this fix and let me know if it helps:
> >
> > After some stress testing, the fix does appear to fix the
> > error.
>
> Hi,
>
> Well just after I sent the email, it came up again.
>
>
> Sep 19 19:31:52 continuum kernel: __alloc_pages: 0-order
> allocation failed (gfp=0x20/0) from c012e052
> Sep 19 19:33:51 continuum kernel: __alloc_pages: 0-order
> allocation failed (gfp=0x20/0) from c012e052
did it happen as frequently/easily as before or did you need to stress
it much harder? And I'm also curious what happens if we simply lower the
watemark (possibly it was too high). Anyways the other patch is a good
idea to apply anyways.
So can now try the below new one?
--- 2.4.10pre11aa1/mm/page_alloc.c.~1~ Thu Sep 20 00:36:11 2001
+++ 2.4.10pre11aa1/mm/page_alloc.c Thu Sep 20 04:45:44 2001
@@ -346,7 +346,7 @@
if (!z)
break;
- if (zone_free_pages(z, order) > (gfp_mask & __GFP_HIGH ? z->pages_min / 2 : z->pages_min)) {
+ if (zone_free_pages(z, order) > (gfp_mask & __GFP_HIGH ? z->pages_min / 4 : z->pages_min)) {
page = rmqueue(z, order);
if (page)
return page;
the fact is, kswapd is the only entity meant to shrink the caches for
the atomic pages, it exactly knows what are the zones that needs to be
balanced and we have a min-min/2 of pages of GAP that must be refilled
in time. It just seems kswapd doesn't cope with the frequency of the
allocations sometime, this may be ok but maybe we must find a way to
more aggressively free memory for the atomic allocations or it could
simply mean that the watermark GAP was too small as Marcelo just
suggested previously.
Can you also resolve "c012e052" so we know who's allocating those pages
just in case?
Andrea
next prev parent reply other threads:[~2001-09-20 2:52 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 13:11 __alloc_pages: 0-order allocation failed Martin MOKREJŠ
2001-09-04 16:12 ` Daniel Phillips
2001-09-07 12:53 ` Martin MOKREJŠ
2001-09-07 13:06 ` Martin MOKREJŠ
2001-09-07 20:43 ` Daniel Phillips
2001-09-07 21:00 ` Daniel Phillips
2001-09-12 13:06 ` Martin MOKREJŠ
2001-09-19 14:21 ` __alloc_pages: 0-order allocation failed still in -pre12 Martin MOKREJŠ
2001-09-19 15:03 ` Martin MOKREJŠ
2001-09-19 15:16 ` Rik van Riel
2001-09-19 15:51 ` Martin MOKREJŠ
2001-09-19 22:34 ` Shane Wegner
2001-09-19 22:45 ` Andrea Arcangeli
2001-09-20 2:31 ` Shane Wegner
2001-09-20 2:36 ` Andrea Arcangeli
2001-09-20 2:36 ` Shane Wegner
2001-09-20 2:52 ` Andrea Arcangeli [this message]
2001-09-20 15:02 ` Randy.Dunlap
2001-09-21 1:54 ` Keith Owens
2001-09-20 9:57 ` Cannot compile 2.4.10pre12aa1 with 2.95.2 on Debian Martin MOKREJŠ
2001-09-20 10:10 ` Magnus Naeslund(f)
2001-09-20 10:26 ` Martin MOKREJŠ
2001-09-20 10:26 ` Magnus Naeslund(f)
2001-09-20 10:59 ` Perf improvements in 2.4.10pre12aa1 Martin MOKREJŠ
2001-09-20 15:28 ` Martin MOKREJŠ
2001-09-20 15:40 ` Martin MOKREJŠ
2001-09-20 10:24 ` [PATCH] Make kernel build numbers work again (was: Re: Cannot compile 2.4.10pre12aa1 with 2.95.2 on Debian) Russell King
2001-09-20 12:54 ` Alan Cox
2001-09-19 22:39 ` __alloc_pages: 0-order allocation failed still in -pre12 Andrea Arcangeli
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=20010920045235.N720@athlon.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=shane@cm.nu \
--cc=torvalds@transmeta.com \
/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