Re: [PATCH 3/5] tools/mm: Filter out timestamps for correct collation

From: Vlastimil Babka
Date: Tue Oct 17 2023 - 04:12:25 EST


On 10/13/23 21:03, Audra Mitchell wrote:
> With the introduction of allocation timestamps being included in page_owner
> output, each record becomes unique due to the timestamp nanosecond
> granularity. Remove the check in add_list that tries to collate each record
> during processing as the memcmp() is just additional overhead at this
> point.
>
> Also keep the allocation timestamps, but allow collation to occur without
> consideration of the allocation timestamp except in the case were
> allocation timestamps are requested by the user (the -a option).
>
> Signed-off-by: Audra Mitchell <audra@xxxxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>