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

From: David Rientjes
Date: Thu Aug 27 2015 - 17:02:58 EST


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>

I assume nothing else other than stats and tracepoints are affected by
this and this isn't a critical bugfix :)
--
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/