lkml.org 
[lkml]   [2022]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 0/3] Add PUD and kernel PTE level pagetable account
From


On 7/6/2022 11:48 PM, Dave Hansen wrote:
> 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?

Not fix real problem. The motivation is that making the pagetable
accounting more accurate, which helps us to analyse the consumption of
the pagetable pages in some cases, and maybe help to do some empty
pagetable reclaiming in future.

\
 
 \ /
  Last update: 2022-07-07 13:33    [W:0.168 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site