Re: try_to_swap_out() return value problem?

Rik van Riel (riel@conectiva.com.br)
Thu, 4 Jan 2001 12:32:23 -0200 (BRDT)


On Thu, 4 Jan 2001, Marcelo Tosatti wrote:

> Your latest changes to try_to_swap_out() does not seem to be
> obviously correct.

> Now refill_inactive() relies on the assumption that swap_out()
> returning 1 means we successfully freed a page:

The changes try_to_swap_out() has seen in recent
months indeed have the potential to really disturb
the balance between refill_inactive_scan() and
swap_out() ...

Looking into changing/fixing/... this balance may
have some influence on performance, but now that
aging has been reintroduced tweaking the balance no
longer seems to have the huge influence it had in
2.2.

Having said that, it may be good to re-balance the
VM a bit for 2.4.1...

regards,

Rik

--
Hollywood goes for world dumbination,
	Trailer at 11.

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

- 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/