[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250117131113.14167-1-richard120310@gmail.com>
Date: Fri, 17 Jan 2025 21:11:13 +0800
From: I Hsin Cheng <richard120310@...il.com>
To: corbet@....net
Cc: akpm@...ux-foundation.org,
jserv@...s.ncku.edu.tw,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
I Hsin Cheng <richard120310@...il.com>
Subject: [PATCH] docs/mm: Page tables: Fix typos
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@...il.com>
---
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
Powered by blists - more mailing lists