> procs memory swap io system cpu
> r b w swpd free buff cache si so bi bo in cs us sy id
> 1 0 0 77000 1464 18444 67324 8 0 152 224 386 1345 26 19 55
> 2 4 2 77084 1524 18396 66904 0 1876 108 2220 2464 66079 1 98 1
Does the following patch help with this problem, or are
you both experiencing something unrelated to this particular
buglet ?
regards,
Rik
-- Executive summary of a recent Microsoft press release: "we are concerned about the GNU General Public License (GPL)"http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/
--- linux/mm/swapfile.c.~1~ Thu May 3 16:34:46 2001 +++ linux/mm/swapfile.c Thu May 3 16:36:07 2001 @@ -67,8 +67,14 @@ } /* No luck, so now go finegrined as usual. -Andrea */ for (offset = si->lowest_bit; offset <= si->highest_bit ; offset++) { - if (si->swap_map[offset]) + if (si->swap_map[offset]) { + /* Any full pages we find we should avoid + * looking at next time. */ + if (offset == si->lowest_bit) + si->lowest_bit++; continue; + } + got_page: if (offset == si->lowest_bit) si->lowest_bit++; @@ -79,6 +85,7 @@ si->cluster_next = offset+1; return offset; } + si->highest_bit = 0; return 0; }
- 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/