[PATCH] mm: fix comment of page table counter

From: Kele Huang
Date: Sat Dec 24 2022 - 02:26:30 EST


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@xxxxxxxxxxxx>
---
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