[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [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/ |
+-------------------------------------------------------------------+
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org