[PATCH] mm: fix comment of page table counter

Kele Huang posted 1 patch 2 years, 8 months ago
include/linux/mm_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm: fix comment of page table counter
Posted by Kele Huang 2 years, 8 months ago
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