[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC][DATA] re "ongoing vm suckage"



On Tue, 7 Aug 2001, Rik van Riel wrote:
>
> Hmmmm, indeed.  All lazy movement can do is make it
> easier to run into a wall, but it should still be
> possible without it ...

Yes.

One of the things this problem seems to show is that "kswapd" really does
too many different things.

Some people who wake up kswapd really want kswapd to work at _freeing_
pages. Exactly because things like network traffic, buffer flushing etc
may not be able to do everything due to atomicity constraints or fear of
deadlocks.

At the same time, kswapd _also_ ends up doing background aging, so kswapd
basically wakes up itself once a second. And when kswapd wakes up itself
it does _not_ want to actively free pages, so it has to have that test for
"free_shortage()"..

		Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/