[PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers

Anshuman Khandual posted 1 patch 2 years, 1 month ago
Documentation/mm/arch_pgtable_helpers.rst | 2 --
1 file changed, 2 deletions(-)
[PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers
Posted by Anshuman Khandual 2 years, 1 month ago
pte_bad() never existed unlike similar helpers at PMU, PUD, and PGD level.
This was added erroneously and hence should be dropped instead.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Rick Edgecombe <rick.p.edgecombe@intel.com>
Cc: linux-doc@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
---
 Documentation/mm/arch_pgtable_helpers.rst | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/mm/arch_pgtable_helpers.rst b/Documentation/mm/arch_pgtable_helpers.rst
index c82e3ee20e51..2466d3363af7 100644
--- a/Documentation/mm/arch_pgtable_helpers.rst
+++ b/Documentation/mm/arch_pgtable_helpers.rst
@@ -18,8 +18,6 @@ PTE Page Table Helpers
 +---------------------------+--------------------------------------------------+
 | pte_same                  | Tests whether both PTE entries are the same      |
 +---------------------------+--------------------------------------------------+
-| pte_bad                   | Tests a non-table mapped PTE                     |
-+---------------------------+--------------------------------------------------+
 | pte_present               | Tests a valid mapped PTE                         |
 +---------------------------+--------------------------------------------------+
 | pte_young                 | Tests a young PTE                                |
-- 
2.25.1
Re: [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers
Posted by Edgecombe, Rick P 2 years, 1 month ago
On Tue, 2023-11-14 at 12:04 +0530, Anshuman Khandual wrote:
> pte_bad() never existed unlike similar helpers at PMU, PUD, and PGD
> level.
> This was added erroneously and hence should be dropped instead.
> 
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Rick Edgecombe <rick.p.edgecombe@intel.com>
> Cc: linux-doc@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>

Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>