Re: 2.6.10-rc3: kswapd eats CPU on start of memory-eating task

From: Con Kolivas
Date: Sun Dec 19 2004 - 23:15:34 EST

Rik van Riel wrote:
On Mon, 20 Dec 2004, Con Kolivas wrote:

I still suspect the thrash token patch even with the swap token timeout at 0. Is it completely disabled at 0 or does it still do something?

It makes it harder to page out pages from the task holding the
token. I wonder if kswapd should try to steal the token away
from the task holding it, so in effect nobody holds the token
when the system isn't under a heavy swapping load.

What if the token isn't handed out at all until a heavy swapping load starts? A slight delay in thrash control would be worth it.


Attachment: signature.asc
Description: OpenPGP digital signature