Messages in this thread Patch in this message | | | From | Marcin Kowalski <> | Subject | Re: Kernel 2.4 diskcache pushes applications into swap? | Date | Thu, 26 Apr 2001 17:03:55 +0200 |
| |
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*** ----------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |