mm/pagewalk: document missing struct members
Subsystems (2)
PATCH 1/1 mm/pagewalk: document missing struct members
Add missing kernel-doc entries for @walk_lock in struct mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in struct folio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.
--- include/linux/pagewalk.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
include/linux/pagewalk.h +10 -4
@@ -63,6 +63,8 @@ enum page_walk_lock {* install. If allocations fail, the walk is aborted. This * operation is only available for userland memory. Not * usable for hugetlb ranges. +* @walk_lock: locking requirement during the page walk (see +* enum page_walk_lock). * * p?d_entry callbacks are called even if those levels are folded on a * particular architecture/configuration.
@@ -161,10 +163,14 @@ enum folio_walk_level {* struct folio_walk - folio_walk_start() / folio_walk_end() data * @page: exact folio page referenced (if applicable) * @level: page table level identifying the entry type -* @pte: pointer to the page table entry (FW_LEVEL_PTE). -* @pmd: pointer to the page table entry (FW_LEVEL_PMD). -* @pud: pointer to the page table entry (FW_LEVEL_PUD). -* @ptl: pointer to the page table lock. +* @ptep: pointer to the page table entry (FW_LEVEL_PTE). +* @pudp: pointer to the page table entry (FW_LEVEL_PUD). +* @pmdp: pointer to the page table entry (FW_LEVEL_PMD). +* @pte: page table entry value (FW_LEVEL_PTE). +* @pud: page table entry value (FW_LEVEL_PUD). +* @pmd: page table entry value (FW_LEVEL_PMD). +* @vma: pointer to the VMA (for internal use only). +* @ptl: pointer to the page table lock (for internal use only). * * (see folio_walk_start() documentation for more details) */
---
base-commit: 9d66f26fefacebfeed15de31c1123451a17ff119
change-id: 20261112-pagewalk-doc-d4f0de5c03c2
Best regards,
Signature · 1 line
Oscar Alejandro Sánchez Lucero <[email protected]>
Quoted 28 lines · Oscar Alejandro Sánchez Lucero
Add missing kernel-doc entries for @walk_lock in struct
mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in structfolio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.Signed-off-by Oscar Alejandro Sánchez Lucero <[email protected]>--- include/linux/pagewalk.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)include/linux/pagewalk.h +2
-2@@ -63,6 +63,8 @@ enum page_walk_lock {* install. If allocations fail, the walk is aborted. This * operation is only available for userland memory. Not * usable for hugetlb ranges. +* @walk_lock: locking requirement during the page walk (see +* enum page_walk_lock). * * p?d_entry callbacks are called even if those levels are folded on a * particular architecture/configuration. @@ -161,10 +163,14 @@ enum folio_walk_level {* struct folio_walk - folio_walk_start() / folio_walk_end() data * @page: exact folio page referenced (if applicable) * @level: page table level identifying the entry type -* @pte: pointer to the page table entry (FW_LEVEL_PTE). -* @pmd: pointer to the page table entry (FW_LEVEL_PMD).
include/linux/pagewalk.h enum folio_walk_level { · line 173
Quoted 10 lines
include/linux/pagewalk.h +8
-2-* @pud: pointer to the page table entry (FW_LEVEL_PUD). -* @ptl: pointer to the page table lock. +* @ptep: pointer to the page table entry (FW_LEVEL_PTE). +* @pudp: pointer to the page table entry (FW_LEVEL_PUD). +* @pmdp: pointer to the page table entry (FW_LEVEL_PMD). +* @pte: page table entry value (FW_LEVEL_PTE). +* @pud: page table entry value (FW_LEVEL_PUD). +* @pmd: page table entry value (FW_LEVEL_PMD). +* @vma: pointer to the VMA (for internal use only). +* @ptl: pointer to the page table lock (for internal use only).
Signature · 3 lines
Cheers, David
Quoted 3 lines · Oscar Alejandro Sánchez Lucero
Add missing kernel-doc entries for @walk_lock in struct
mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in structfolio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.
Applied, thanks!
tree: mm/core.git
branch: core-7.5.misc
Applied patches will appear soon in mm-next, followed by linux-next.
Please report any outstanding bugs that were missed during review, so we can either drop the patch series or decide how to fix it up.
It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even though the patches have already been applied. If possible, patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. Further, this is not a guarantee that the patches will go upstream. If in doubt, please check the listed branch.
[1/1] mm/pagewalk: document missing struct members
https://git.kernel.org/mm/core/c/8a834f42
Signature · 3 lines
Cheers, David
Quoted 5 lines · Oscar Alejandro Sánchez Lucero
Add missing kernel-doc entries for @walk_lock in struct
mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in structfolio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.Signed-off-by Oscar Alejandro Sánchez Lucero <[email protected]>
Looks sensible to me so:
Quoted 41 lines
--- include/linux/pagewalk.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)include/linux/pagewalk.h +10
-5@@ -63,6 +63,8 @@ enum page_walk_lock {* install. If allocations fail, the walk is aborted. This * operation is only available for userland memory. Not * usable for hugetlb ranges. +* @walk_lock: locking requirement during the page walk (see +* enum page_walk_lock). * * p?d_entry callbacks are called even if those levels are folded on a * particular architecture/configuration. @@ -161,10 +163,14 @@ enum folio_walk_level {* struct folio_walk - folio_walk_start() / folio_walk_end() data * @page: exact folio page referenced (if applicable) * @level: page table level identifying the entry type -* @pte: pointer to the page table entry (FW_LEVEL_PTE). -* @pmd: pointer to the page table entry (FW_LEVEL_PMD). -* @pud: pointer to the page table entry (FW_LEVEL_PUD). -* @ptl: pointer to the page table lock. +* @ptep: pointer to the page table entry (FW_LEVEL_PTE). +* @pudp: pointer to the page table entry (FW_LEVEL_PUD). +* @pmdp: pointer to the page table entry (FW_LEVEL_PMD). +* @pte: page table entry value (FW_LEVEL_PTE). +* @pud: page table entry value (FW_LEVEL_PUD). +* @pmd: page table entry value (FW_LEVEL_PMD). +* @vma: pointer to the VMA (for internal use only). +* @ptl: pointer to the page table lock (for internal use only). * * (see folio_walk_start() documentation for more details) */ ---base-commit:
9d66f26fefacebfeed15de31c1123451a17ff119
change-id: 20261112-pagewalk-doc-d4f0de5c03c2
Quoted 4 lines
Best regards,
--
Oscar Alejandro Sánchez Lucero <[email protected]>
--
Cheers, Lorenzo
Quoted 3 lines · On Thu, 12 Nov 2026 18:44:07 -0600 Oscar Alejandro Sánchez Lucero…
Add missing kernel-doc entries for @walk_lock in struct
mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in structfolio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.
Looks good and correct to me.
Quoted 2 lines
Signed-off-by Oscar Alejandro Sánchez Lucero <[email protected]>
Thanks,
SJ
[...]
[merged mm/core.git: for-next] mm-pagewalk-document-missing-struct-members.patch removed from -mm tree
In reply to Oscar Alejandro Sánchez LuceroThe quilt patch titled Subject: mm/pagewalk: document missing struct members has been removed from the -mm tree. Its filename was mm-pagewalk-document-missing-struct-members.patch
The quilt patch titled
Subject: mm/pagewalk: document missing struct members
has been removed from the -mm tree. Its filename was
mm-pagewalk-document-missing-struct-members.patch
This patch was dropped because it was merged into mm/core.git: for-next
------------------------------------------------------
From: Oscar Alejandro Sánchez Lucero <[email protected]>
Subject: mm/pagewalk: document missing struct members
Date: Thu, 12 Nov 2026 18:44:07 -0600
Add missing kernel-doc entries for @walk_lock in struct mm_walk_ops, and for @ptep, @pudp, @pmdp, and @vma in struct folio_walk. Also fix @pte, @pud, and @pmd descriptions to state they hold entry values, not pointers.
include/linux/pagewalk.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
include/linux/pagewalk.h renamed from include/linux/pagewalk.h~mm-pagewalk-document-missing-struct-members +10 -4
@@ -63,6 +63,8 @@ enum page_walk_lock {* install. If allocations fail, the walk is aborted. This * operation is only available for userland memory. Not * usable for hugetlb ranges. +* @walk_lock: locking requirement during the page walk (see +* enum page_walk_lock). * * p?d_entry callbacks are called even if those levels are folded on a * particular architecture/configuration.
@@ -161,10 +163,14 @@ enum folio_walk_level {* struct folio_walk - folio_walk_start() / folio_walk_end() data * @page: exact folio page referenced (if applicable) * @level: page table level identifying the entry type -* @pte: pointer to the page table entry (FW_LEVEL_PTE). -* @pmd: pointer to the page table entry (FW_LEVEL_PMD). -* @pud: pointer to the page table entry (FW_LEVEL_PUD). -* @ptl: pointer to the page table lock. +* @ptep: pointer to the page table entry (FW_LEVEL_PTE). +* @pudp: pointer to the page table entry (FW_LEVEL_PUD). +* @pmdp: pointer to the page table entry (FW_LEVEL_PMD). +* @pte: page table entry value (FW_LEVEL_PTE). +* @pud: page table entry value (FW_LEVEL_PUD). +* @pmd: page table entry value (FW_LEVEL_PMD). +* @vma: pointer to the VMA (for internal use only). +* @ptl: pointer to the page table lock (for internal use only). * * (see folio_walk_start() documentation for more details) */
_
Patches currently in -mm which might be from [email protected] are
mm-page_reporting-document-order-parameter-in-page_reporting_notify_free.patch