Re: [PATCH 0/3] Add PUD and kernel PTE level pagetable account

From: Dave Hansen
Date: Wed Jul 06 2022 - 11:53:53 EST


On 7/6/22 01:59, Baolin Wang wrote:
> Now we will miss to account the PUD level pagetable and kernel PTE level
> pagetable, as well as missing to set the PG_table flags for these pagetable
> pages, which will get an inaccurate pagetable accounting, and miss
> PageTable() validation in some cases. So this patch set introduces new
> helpers to help to account PUD and kernel PTE pagetable pages.

Could you explain the motivation for this series a bit more? Is there a
real-world problem that this fixes?