public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcin Kowalski <kowalski@datrix.co.za>
To: troels@fast.no, linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.4 diskcache pushes applications into swap?
Date: Thu, 26 Apr 2001 17:03:55 +0200	[thread overview]
Message-ID: <01042617035504.04903@webman> (raw)
In-Reply-To: <CKECLHEEHJOPHGPCOCKPKEEECCAA.troels@fast.no>
In-Reply-To: <CKECLHEEHJOPHGPCOCKPKEEECCAA.troels@fast.no>

Hi

Had the same problem -- even up to 2.4.3. Ed Tomlinsons Patch sorted it out .

It seems that  the dentries were not being cleared properly... hope this 
helps.. 
The explanation probably doesn't :-).. (see last weeks list archives)
------------------------------------------------
--- ./linux/fs/dcache.c Thu Apr 12 09:20:59 2001
+++ dcache.new  Thu Apr 12 09:22:38 2001
@@ -340,7 +340,7 @@
                if (dentry->d_flags & DCACHE_REFERENCED) {
                        dentry->d_flags &= ~DCACHE_REFERENCED;
                        list_add(&dentry->d_lru, &dentry_unused);
-                       goto next;
+                       continue;
                }
                dentry_stat.nr_unused--;

------------------------------
-----------------------------
     Marcin Kowalski
     Linux/Perl Developer
     Datrix Solutions
     Cel. 082-400-7603
      ***Open Source Kicks Ass***
-----------------------------

      reply	other threads:[~2001-04-26 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26  7:42 Kernel 2.4 diskcache pushes applications into swap? Troels Walsted Hansen
2001-04-26 15:03 ` Marcin Kowalski [this message]

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=01042617035504.04903@webman \
    --to=kowalski@datrix.co.za \
    --cc=linux-kernel@vger.kernel.org \
    --cc=troels@fast.no \
    /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