From: Andrea Arcangeli <andrea@suse.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: kswapd and MM overload fix
Date: Wed, 6 Jun 2001 00:44:50 +0200 [thread overview]
Message-ID: <20010606004450.C27651@athlon.random> (raw)
Anybody running on a machine with some zone empty (<16Mbyte boxes (PDAs),
<1G x86 with highmem enabled kernel or an arch with an iommu like alpha)
probably noticed that the MM was unusable on those hardware
configurations (as I also incidentally mentioned a few times on l-k in
the last months).
Yesterday I checked and here it is the fix (included in 2.4.5aa3).
--- 2.4.5aa3/mm/vmscan.c.~1~ Sat May 26 04:03:50 2001
+++ 2.4.5aa3/mm/vmscan.c Tue Jun 5 03:41:06 2001
@@ -791,6 +788,8 @@
for(i = 0; i < MAX_NR_ZONES; i++) {
int zone_shortage;
zone_t *zone = pgdat->node_zones+ i;
+ if (!zone->size)
+ continue;
zone_shortage = zone->pages_high;
zone_shortage -= zone->inactive_dirty_pages;
Andrea
next reply other threads:[~2001-06-05 22:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 22:44 Andrea Arcangeli [this message]
2001-06-05 23:16 ` Linus Torvalds
2001-06-05 23:48 ` Andrea Arcangeli
2001-06-05 23:51 ` Linus Torvalds
2001-06-06 7:54 ` Xavier Bestel
2001-06-05 23:48 ` Roger Larsson
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=20010606004450.C27651@athlon.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®