Re: Time for a pre-patch-2.0.31-3? (buffer/cache patch included)

Benjamin C R LaHaise (blah@dot.superaje.com)
Wed, 2 Jul 1997 21:19:28 +0000 ( )


On Wed, 2 Jul 1997, Dr. Werner Fink wrote:

> mm/vmscan.c
...
> change try_to_free_page() in some point to have a more aggressive
> swapping strategy in low memory situations.
> change in swap_tick(): wakeup kswapd more often in low memory
> situations (adapted from 2.1.xx)
...

These two changes from 2.1 wil kill machines that run out of swap/have
slow processors - take a look at the changes I made to vmscan.c in
ftp://dot.superaje.com/pub/linux/blah-mm-2.1.42-2.diff for kswapd() and
swap_tick() -- those changes should improve things on systems which
swap a lot as they keep the swap more behaviour introduced in 2.1.3?,
but try to be gentle and not eat 100% cpu when we do start swapping. Like
I've said - it's a temporary fix until mm is reworked to be more
deterministic.

-ben