Re: [PATCH 5/8] mm, pagevec: Remove cold parameter for pagevecs

From: Vlastimil Babka
Date: Thu Oct 19 2017 - 05:24:59 EST


On 10/18/2017 09:59 AM, Mel Gorman wrote:
> Every pagevec_init user claims the pages being released are false even in
> cases where it is unlikely the pages are hot. As no one cares about the
> hotness of pages being released to the allocator, just ditch the parameter.
>
> No performance impact is expected as the overhead is marginal. The parameter
> is removed simply because it is a bit stupid to have a useless parameter
> copied everywhere.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>