From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: linux-2.4.13 high SWAP
Date: Wed, 24 Oct 2001 19:11:59 +0000 (UTC) [thread overview]
Message-ID: <9r73pv$8h1$1@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0110241509250.885-100000@freak.distro.conectiva> <200110241936.RAA04632@inter.lojasrenner.com.br>
In article <200110241936.RAA04632@inter.lojasrenner.com.br>,
Andre Margis <andre@sam.com.br> wrote:
>
>Without use the tmpfs, appears to be OK!!!!!!!!!!
Ok, the problem appears to be that tmpfs stuff just stays on the
inactive list, and because it cannot be written out it eventually
totally clogs the system.
Suggested fix appended (from Andrea),
Linus
-----
diff -u --recursive --new-file v2.4.13/linux/drivers/block/rd.c linux/drivers/block/rd.c
--- v2.4.13/linux/drivers/block/rd.c Tue Oct 23 22:48:50 2001
+++ linux/drivers/block/rd.c Wed Oct 24 08:59:21 2001
@@ -209,6 +209,7 @@
*/
static int ramdisk_writepage(struct page *page)
{
+ activate_page(page);
SetPageDirty(page);
UnlockPage(page);
return 0;
diff -u --recursive --new-file v2.4.13/linux/fs/ramfs/inode.c linux/fs/ramfs/inode.c
--- v2.4.13/linux/fs/ramfs/inode.c Tue Oct 9 17:06:53 2001
+++ linux/fs/ramfs/inode.c Wed Oct 24 08:59:21 2001
@@ -81,6 +81,7 @@
*/
static int ramfs_writepage(struct page *page)
{
+ activate_page(page);
SetPageDirty(page);
UnlockPage(page);
return 0;
next prev parent reply other threads:[~2001-10-24 19:13 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-24 5:52 linux-2.4.13 Linus Torvalds
2001-10-24 7:39 ` linux-2.4.13 christophe barbe
2001-10-24 8:08 ` linux-2.4.13 Florian Weimer
2001-10-24 8:56 ` linux-2.4.13 Tim Nicholas
2001-10-25 10:29 ` linux-2.4.13 André Dahlqvist
2001-10-24 9:40 ` linux-2.4.13 bert hubert
2001-10-24 16:51 ` linux-2.4.13 Linus Torvalds
2001-10-24 17:05 ` linux-2.4.13 high SWAP Andre Margis
2001-10-24 17:42 ` Andre Margis
2001-10-24 16:44 ` Marcelo Tosatti
2001-10-24 18:20 ` Andre Margis
2001-10-24 17:10 ` Marcelo Tosatti
2001-10-24 18:37 ` Andre Margis
2001-10-24 19:11 ` Linus Torvalds [this message]
2001-10-24 21:03 ` Lukasz Trabinski
2001-10-24 21:48 ` toon
2001-10-24 22:08 ` David S. Miller
2001-10-25 13:23 ` Christoph Rohland
2001-10-26 2:17 ` linux-2.4.13 Anuradha Ratnaweera
2001-10-26 5:44 ` linux-2.4.13 Stuart Young
2001-10-24 11:16 ` linux-2.4.13 Andy Pevy
2001-10-24 10:56 ` linux-2.4.13 Francois Romieu
2001-10-24 14:48 ` linux-2.4.13 Jan Rekorajski
-- strict thread matches above, loose matches on Subject: below --
2001-10-30 4:49 linux-2.4.13 high SWAP Robert Scussel
2001-10-30 10:28 ` Pablo Ninja
2001-10-30 13:29 ` Ulrich Wiederhold
2001-10-30 15:48 ` Robert Scussel
2001-10-30 15:10 ` Andre Margis
2001-10-30 18:56 ` Theo Schlossnagle
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='9r73pv$8h1$1@penguin.transmeta.com' \
--to=torvalds@transmeta.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