Skip to contentSkip to conversation

Documentation: arch_pgtable_helpers: demote pgtable list headings

PATCH Superseded Bagas Sanjaya 2 participants 3 messages Mar 26, 2022 – Apr 6, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: arch_pgtable_helpers: demote pgtable list headings

Demote pgtable list headings from title heading to chapter heading.

Cc Jonathan Corbet <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jens Axboe <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Anshuman Khandual <[email protected]>
Cc Pasha Tatashin <[email protected]>
---
 Documentation/vm/arch_pgtable_helpers.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/vm/arch_pgtable_helpers.rst +5 -5
index f8b225fc919047..cbaee9e592410f 100644
@@ -13,7 +13,7 @@ Following tables describe the expected semantics which can also be tested during
 boot via CONFIG_DEBUG_VM_PGTABLE option. All future changes in here or the debug
 test need to be in sync.
 
-======================
+
 PTE Page Table Helpers
 ======================
 
@@ -79,7 +79,7 @@ PTE Page Table Helpers
 | ptep_set_access_flags     | Converts into a more permissive PTE              |
 +---------------------------+--------------------------------------------------+
 
-======================
+
 PMD Page Table Helpers
 ======================
 
@@ -153,7 +153,7 @@ PMD Page Table Helpers
 | pmdp_set_access_flags     | Converts into a more permissive PMD              |
 +---------------------------+--------------------------------------------------+
 
-======================
+
 PUD Page Table Helpers
 ======================
 
@@ -209,7 +209,7 @@ PUD Page Table Helpers
 | pudp_set_access_flags     | Converts into a more permissive PUD              |
 +---------------------------+--------------------------------------------------+
 
-==========================
+
 HugeTLB Page Table Helpers
 ==========================
 
@@ -235,7 +235,7 @@ HugeTLB Page Table Helpers
 | huge_ptep_set_access_flags  | Converts into a more permissive HugeTLB        |
 +---------------------------+--------------------------------------------------+
 
-========================
+
 SWAP Page Table Helpers
 ========================
 

base-commit: f443e374ae131c168a065ea1748feac6b2e76613

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer
#1 lore raw
Quoted 1 line · Bagas Sanjaya

Demote pgtable list headings from title heading to chapter heading.

This is a classic example of the sort of changelog that says *what* the patch does (which we can also see from the patch itself) but not *why*. Why do these headings need to be changed?

Thanks,

jon

Quoted 68 lines
Cc Jonathan Corbet <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jens Axboe <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Anshuman Khandual <[email protected]>
Cc Pasha Tatashin <[email protected]>
---
 Documentation/vm/arch_pgtable_helpers.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/vm/arch_pgtable_helpers.rst +5 -5
index f8b225fc919047..cbaee9e592410f 100644
@@ -13,7 +13,7 @@ Following tables describe the expected semantics which can also be tested during
 boot via CONFIG_DEBUG_VM_PGTABLE option. All future changes in here or the debug
 test need to be in sync.
 
-======================
+
 PTE Page Table Helpers
 ======================
 
@@ -79,7 +79,7 @@ PTE Page Table Helpers
 | ptep_set_access_flags     | Converts into a more permissive PTE              |
 +---------------------------+--------------------------------------------------+
 
-======================
+
 PMD Page Table Helpers
 ======================
 
@@ -153,7 +153,7 @@ PMD Page Table Helpers
 | pmdp_set_access_flags     | Converts into a more permissive PMD              |
 +---------------------------+--------------------------------------------------+
 
-======================
+
 PUD Page Table Helpers
 ======================
 
@@ -209,7 +209,7 @@ PUD Page Table Helpers
 | pudp_set_access_flags     | Converts into a more permissive PUD              |
 +---------------------------+--------------------------------------------------+
 
-==========================
+
 HugeTLB Page Table Helpers
 ==========================
 
@@ -235,7 +235,7 @@ HugeTLB Page Table Helpers
 | huge_ptep_set_access_flags  | Converts into a more permissive HugeTLB        |
 +---------------------------+--------------------------------------------------+
 
-========================
+
 SWAP Page Table Helpers
 ========================
 

base-commit: f443e374ae131c168a065ea1748feac6b2e76613

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw
Quoted 8 lines · Jonathan Corbet
Quoted 1 line · Bagas Sanjaya

Demote pgtable list headings from title heading to chapter heading.

This is a classic example of the sort of changelog that says *what* the patch does (which we can also see from the patch itself) but not *why*. Why do these headings need to be changed?

In this case, before this patch, generated table of contents for vm/ contains:

- Active MM
- Architecture Page Table Helpers
- PTE Page Table Helpers
- PMD Page Table Helpers
- PUD Page Table Helpers
- HugeTLB Page Table Helpers
- SWAP Page Table Helpers
- Memory Balancing
...

The headings for PTE, PMD, PUD, HugeTLB, and SWAP Page Table Helpers should be subheading of Architecture Page Table Helpers, but these were marked up with page title heading instead of chapter heading.

Signature · 1 line
An old man doll... just what I always wanted! - Clara