[PATCH] docs/mm: Page tables: Fix typos
From: I Hsin Cheng
Date: Fri Jan 17 2025 - 08:12:55 EST
The member "pgd" in "struct mm_struct" is of type "struct pgd_t *"
rather than "struct pgt_t *", fix the typo.
Signed-off-by: I Hsin Cheng <richard120310@xxxxxxxxx>
---
Documentation/mm/page_tables.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/mm/page_tables.rst b/Documentation/mm/page_tables.rst
index be47b192a..e876c86f6 100644
--- a/Documentation/mm/page_tables.rst
+++ b/Documentation/mm/page_tables.rst
@@ -119,7 +119,7 @@ meaning beginning from the bottom:
memory context and thus its own *pgd*, found in `struct mm_struct` which
in turn is referenced to in each `struct task_struct`. So tasks have memory
context in the form of a `struct mm_struct` and this in turn has a
- `struct pgt_t *pgd` pointer to the corresponding page global directory.
+ `struct pgd_t *pgd` pointer to the corresponding page global directory.
To repeat: each level in the page table hierarchy is a *array of pointers*, so
the **pgd** contains `PTRS_PER_PGD` pointers to the next level below, **p4d**
--
2.43.0