lkml.org 
[lkml]   [1998]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] excessive swapout in 2.1.130
I can' t reproduce any kind of excessive swapout with wc /usr/bin/* or
other thing (cp /dev/zero /tmp/zero) with my tree (arca-39) with 64Mbyte
of ram. I had not time to try clean 2.1.130 to make comparison (I just
asked to some guy out there but not report yet) but I guess the trick is
done by this part of my patch :

diff -u linux/mm/vmscan.c:1.1.1.2 linux/mm/vmscan.c:1.1.1.1.2.3
--- linux/mm/vmscan.c:1.1.1.2 Fri Nov 27 11:19:11 1998
+++ linux/mm/vmscan.c Fri Nov 27 11:41:42 1998
@@ -431,7 +439,7 @@
kmem_cache_reap(gfp_mask);

if (buffer_over_borrow() || pgcache_over_borrow())
- shrink_mmap(i, gfp_mask);
+ state = 0;

switch (state) {
do {


I changed this bit some month ago because it was the right thing to do
according to me.

I am not using sct patch btw (I had not the time to understand it yet).

Andrea[s] Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.026 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site