Re: [PATCH 1/2] mm/ptdump: Split note_page() into level specific callbacks

2025-04-05 Thread Alexander Gordeev
On Mon, Mar 17, 2025 at 11:48:17AM +0530, Anshuman Khandual wrote: Hi Anshuman, ... > --- a/include/linux/ptdump.h > +++ b/include/linux/ptdump.h > @@ -11,9 +11,12 @@ struct ptdump_range { > }; > > struct ptdump_state { > - /* level is 0:PGD to 4:PTE, or -1 if unknown */ > - void (*no

Re: [PATCH 1/2] mm/ptdump: Split note_page() into level specific callbacks

2025-03-31 Thread Anshuman Khandual
On 3/31/25 14:29, Alexander Gordeev wrote: > On Mon, Mar 17, 2025 at 11:48:17AM +0530, Anshuman Khandual wrote: > > Hi Anshuman, > > ... >> --- a/include/linux/ptdump.h >> +++ b/include/linux/ptdump.h >> @@ -11,9 +11,12 @@ struct ptdump_range { >> }; >> >> struct ptdump_state { >> -/*

Re: [PATCH 1/2] mm/ptdump: Split note_page() into level specific callbacks

2025-03-24 Thread Anshuman Khandual
On 3/17/25 11:48, Anshuman Khandual wrote: > Last argument passed down in note_page() is u64 assuming pxd_val() returned > value (all page table levels) is 64 bit - which might not be the case going > ahead when D128 page tables is enabled on arm64 platform. Besides pxd_val() > is very platform