Messages in this thread Patch in this message |  | | From | Kele Huang <> | Subject | [PATCH] mm: fix comment of page table counter | Date | Sat, 24 Dec 2022 01:02:33 -0500 |
| |
Commit af5b0f6a09e42 ("mm: consolidate page table accounting") consolidates page table accounting to a single counter in struct mm_struct {} as mm->pgtables_bytes. So the meanning of this counter should be the size of all page tables now.
Signed-off-by: Kele Huang <kele.huang@columbia.edu> --- include/linux/mm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 3b8475007734..1c06c3cb6530 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -647,7 +647,7 @@ struct mm_struct { atomic_t mm_count; #ifdef CONFIG_MMU - atomic_long_t pgtables_bytes; /* PTE page table pages */ + atomic_long_t pgtables_bytes; /* size of all page tables */ #endif int map_count; /* number of VMAs */ -- 2.38.1
|  |