Messages in this thread | | | Date | Sun, 20 May 2001 16:32:59 -0300 (BRT) | From | Marcelo Tosatti <> | Subject | Re: [RFC][PATCH] Re: Linux 2.4.4-ac10 |
| |
On Sun, 20 May 2001, Mike Galbraith wrote:
> > Also in all recent kernels, if the machine is swapping, swap cache > > grows without limits and is hard to recycle, but then again that is > > a known problem. > > This one bugs me. I do not see that and can't understand why.
To throw away dirty and dead swapcache (its done at swap writepage()) pages page_launder() has to run into its second loop (launder_loop = 1) (meaning that a lot of clean cache has been thrown out already).
We can "short circuit" this dead swapcache pages by cleaning them in the first page_launder() loop.
Take a look at the writepage() patch I sent to Linus a few days ago.
- 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/
| |