Re: [PATCH 4.6] mm: wake kcompactd before kswapd's short sleep

From: Rik van Riel
Date: Wed Apr 20 2016 - 14:05:55 EST


On Tue, 2016-04-19 at 22:36 +0200, Vlastimil Babka wrote:
> When kswapd goes to sleep it checks if the node is balanced and at
> first it
> sleeps only for HZ/10 time, then rechecks if the node is still
> balanced and
> nobody has woken it during the initial sleep. Only then it goes fully
> sleep
> until an allocation slowpath wakes it up again.
>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>