Re: [PATCH] mm, migrate: count pages failing all retries in vmstat and tracepoint

From: Vlastimil Babka
Date: Thu Aug 27 2015 - 17:35:45 EST


On 27.8.2015 23:02, David Rientjes wrote:
> On Thu, 27 Aug 2015, Vlastimil Babka wrote:
>
>> Migration tries up to 10 times to migrate pages that return -EAGAIN until it
>> gives up. If some pages fail all retries, they are counted towards the number
>> of failed pages that migrate_pages() returns. They should also be counted in
>> the /proc/vmstat pgmigrate_fail and in the mm_migrate_pages tracepoint.
>>
>> Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx>
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Thanks.

> I assume nothing else other than stats and tracepoints are affected by
> this and this isn't a critical bugfix :)

Yep, no stable needed :)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/