Re: [PATCH] mm/migration: Add trace events for THP migrations
From: Naoya Horiguchi
Date: Mon Jan 10 2022 - 20:58:37 EST
Hi Anshuman,
On Fri, Jan 07, 2022 at 10:29:35AM +0530, Anshuman Khandual wrote:
> This adds two trace events for PMD based THP migration without split. These
> events closely follow the implementation details like setting and removing
> of PMD migration entries, which are essential operations for THP migration.
I often want to check which individual pages are migrated to which places
(or not migrated) for testing, so these new tracepoints could help me.
Maybe these can be much greater if they can handle other types of page
migration for raw pages and hugetlb pages. Is it hard to cover all such
page migration events?
Thanks,
Naoya Horiguchi