lkml.org 
[lkml]   [1998]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] swapin readahead v3 + kswapd fixes
On Tue, 1 Dec 1998, Andrea Arcangeli wrote:
> On Tue, 1 Dec 1998, Rik van Riel wrote:
>
> >--- ./mm/vmscan.c.orig Thu Nov 26 11:26:50 1998
> >+++ ./mm/vmscan.c Tue Dec 1 07:12:28 1998
> >@@ -431,6 +431,8 @@
> > kmem_cache_reap(gfp_mask);
> >
> > if (buffer_over_borrow() || pgcache_over_borrow())
> >+ state = 0;
>
> This _my_ patch should be enough. Did you tried it without the other
> stuff?

Yes, I tried the other stuff but something broke without
the little piece I added. All my piece added to vmscan.c
does is make sure that we actually free memory when we
have done some swap_out()s.

Otherwise kswapd won't stop swapping when things 'go well'.

cheers,

Rik -- now completely used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+


-
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.037 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site