lkml.org 
[lkml]   [2001]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.1-ac7
On Sat, 10 Feb 2001, Marcelo Tosatti wrote:
> On Sat, 10 Feb 2001, Mike Galbraith wrote:
>
> > This change makes my box swap madly under load.
>
> Swapped out pages were not being counted in the flushing limitation.
>
> Could you try the following patch?

Marcelo's patch should do the trick wrt. to making page_launder()
well-behaved again. It should fix the problems some people have
seen with bursty swap behaviour.

> --- linux.orig/mm/vmscan.c Sat Feb 10 08:26:17 2001
> +++ linux/mm/vmscan.c Sat Feb 10 09:34:20 2001
> @@ -515,6 +515,7 @@
>
> writepage(page);
> flushed_pages++;
> + max_launder--;
> page_cache_release(page);
>
> /* And re-start the thing.. */



Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/

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

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