Re: [RFC PATCH v3 2/3] mm: Add PUD level pagetable account

From: Matthew Wilcox
Date: Sun Jul 03 2022 - 10:53:00 EST


On Sun, Jul 03, 2022 at 10:06:32PM +0800, Baolin Wang wrote:
> So for kernel pte page table allocation, I need another similar helpers like
> below. However they do the samething with
> pgtable_pud_page_ctor/pgtable_pud_page_dtor, so I am not sure this is good
> for adding these duplicate code.

Why do we want to account kernel PTE page tables in NR_PAGETABLE?
I think that's confusing.