From: Rik van Riel <H.H.vanRiel@phys.uu.nl>
To: Bill Hawes <whawes@star.net>
Cc: "Stephen C. Tweedie" <sct@redhat.com>,
Linus Torvalds <torvalds@transmeta.com>,
Alan Cox <number6@the-village.bc.nu>,
"David S. Miller" <davem@dm.cobaltmicro.com>,
Ingo Molnar <mingo@valerie.inf.elte.hu>,
Mark Hemment <markhe@nextd.demon.co.uk>,
linux-mm@kvack.org, linux-kernel@vger.rutgers.edu
Subject: Re: Good and bad news on 2.1.110, and a fix
Date: Thu, 23 Jul 1998 22:28:39 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.3.96.980723222349.18464C-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <35B75FE8.63173E88@star.net>
On Thu, 23 Jul 1998, Bill Hawes wrote:
> Stephen C. Tweedie wrote:
>
> > The patch to page_alloc.c is a minimal fix for the fragmentation
> > problem. It simply records allocation failures for high-order pages,
> > and forces free_memory_available to return false until a page of at
> > least that order becomes available. The impact should be low, since
This sound suspiciously like the first version of
free_memory_available() that Linus introduced in
2.1.89...
> One possible downside is that kswapd infinite looping may become more
> likely, as we still have no way to determine when the memory
It will happen for sure; just think of what will happen
when that 64 kB DMA allocation fails on your 6 MB box :(
We saw the results in 2.1.89 and I don't see any reason
to repeat the experiments now, at least not until Bill's
patch for freeing inodes is merged...
> configuration makes it impossible to achieve the memory goal. I still
> see this "swap deadlock" in 110 (and all recent kernels) under low
> memory or by doing a swapoff. Any ideas on how to best determine an
> infeasible memory configuration?
Well, freepages.high should be a nice hint as to when to
stop; unfortunately it is used now instead of fragmentation
issues.
Maybe we want to count the number of order-3 memory structures
free and keep that number above a certain level (back to
Zlatko's 2.1.59 patch :-).
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
next prev parent reply other threads:[~1998-07-23 21:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-23 12:48 Stephen C. Tweedie
1998-07-23 16:08 ` Bill Hawes
1998-07-23 17:30 ` Stephen C. Tweedie
1998-07-23 20:28 ` Rik van Riel [this message]
1998-07-27 11:07 ` Stephen C. Tweedie
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=Pine.LNX.3.96.980723222349.18464C-100000@mirkwood.dummy.home \
--to=h.h.vanriel@phys.uu.nl \
--cc=davem@dm.cobaltmicro.com \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=markhe@nextd.demon.co.uk \
--cc=mingo@valerie.inf.elte.hu \
--cc=number6@the-village.bc.nu \
--cc=sct@redhat.com \
--cc=torvalds@transmeta.com \
--cc=whawes@star.net \
/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