Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining unnecessarily to prepare_kswapd_sleep
From: Johannes Weiner
Date: Tue Jul 12 2016 - 14:06:48 EST
On Fri, Jul 08, 2016 at 10:35:02AM +0100, Mel Gorman wrote:
> As pointed out by Minchan Kim, the first call to prepare_kswapd_sleep
> always passes in 0 for remaining and the second call can trivially
> check the parameter in advance.
>
> Suggested-by: Minchan Kim <minchan@xxxxxxxxxx>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>