From: Rik van Riel <riel@conectiva.com.br>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.redhat.com, Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] update to new VM
Date: Sat, 16 Sep 2000 21:20:57 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.21.0009162114080.1051-100000@duckman.distro.conectiva> (raw)
Hi Linus,
after increasing the test base, the following 2 problems have
been noticed with the VM patch, and are (hopefully) fixed in
this patch:
1) if __alloc_pages() is called without __GFP_IO in the
gfp_mask, we cannot wait for kswapd
-> use try_to_free_pages() the oldfashioned way instead
1b) while fixing up the other __GFP_IO problems, I noticed
programs at schedule points in the VM, sleeping in S state,
this is fixed by explicitly making them runnable
2) the VM was badly balanced for low-memory (8MB) machines,
this has been fixed by making it easier for kswapd to go
to sleep in refill_inactive() and by waking up kswapd earlier
at the top of __alloc_pages()
I'm still not 100% sure if this patch is completely correct,
but it fixes one serious bug in the current VM inside -test9-pre1
and I'm leaving for Linux Kongress tomorrow so this is my last
chance to post anything for the next few days ;(
If this patch proves stable for everyone and makes 8MB machines
workable again with the new VM, please include this in the next
pre-patch. If it doesn't work correctly, I'll somehow find it
in my email while at Linux Kongress and I'll prepare a new fix.
regards,
Rik
--
"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
reply other threads:[~2000-09-17 0:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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.4.21.0009162114080.1051-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=linux-kernel@vger.redhat.com \
--cc=linux-mm@kvack.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