Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 11:59 PM, John Hubbard wrote: > On 2020-05-11 21:22, Anshuman Khandual wrote: >> Add the following new trace events which will help in validating >> migration events involving PMD based THP pages. >> >> 1. THP_PMD_MIGRATION_ENTRY_SET 2. THP_PMD_MIGRATION_ENTRY_REMOVE >> >> There

Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 07:58 PM, Zi Yan wrote: > On 12 May 2020, at 0:22, Anshuman Khandual wrote: > >> Add the following new trace events which will help in validating migration >> events involving PMD based THP pages. >> >> 1. THP_PMD_MIGRATION_ENTRY_SET >> 2. THP_PMD_MIGRATION_ENTRY_REMOVE >> >>

Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread John Hubbard
On 2020-05-11 21:22, Anshuman Khandual wrote: Add the following new trace events which will help in validating migration events involving PMD based THP pages. 1. THP_PMD_MIGRATION_ENTRY_SET 2. THP_PMD_MIGRATION_ENTRY_REMOVE There are no clear method to confirm whether a THP migration happened

Re: [RFC] mm/vmstat: Add events for THP migration without split

2020-05-14 Thread Zi Yan
On 12 May 2020, at 0:22, Anshuman Khandual wrote: > Add the following new trace events which will help in validating migration > events involving PMD based THP pages. > > 1. THP_PMD_MIGRATION_ENTRY_SET > 2. THP_PMD_MIGRATION_ENTRY_REMOVE > > There are no clear method to confirm whether a THP

[RFC] mm/vmstat: Add events for THP migration without split

2020-05-11 Thread Anshuman Khandual
Add the following new trace events which will help in validating migration events involving PMD based THP pages. 1. THP_PMD_MIGRATION_ENTRY_SET 2. THP_PMD_MIGRATION_ENTRY_REMOVE There are no clear method to confirm whether a THP migration happened with out involving it's split. These trace