Re: [PATCH v2] mm/page_owner: Record the timestamp of all pages during free
From: Vlastimil Babka
Date: Fri Feb 05 2021 - 07:06:00 EST
On 2/3/21 6:59 PM, Georgi Djakov wrote:
> Collect the time when each allocation is freed, to help with memory
> analysis with kdump/ramdump. Add the timestamp also in the page_owner
> debugfs file and print it in dump_page().
>
> Having another timestamp when we free the page helps for debugging
> page migration issues. For example both alloc and free timestamps
> being the same can gave hints that there is an issue with migrating
> memory, as opposed to a page just being dropped during migration.
>
> Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
Thanks.