linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers
@ 2023-11-14  6:34 Anshuman Khandual
  2023-11-14 15:12 ` Edgecombe, Rick P
  0 siblings, 1 reply; 2+ messages in thread
From: Anshuman Khandual @ 2023-11-14  6:34 UTC (permalink / raw)
  To: linux-mm
  Cc: Anshuman Khandual, Jonathan Corbet, Andrew Morton,
	Rick Edgecombe, linux-doc, linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers
  2023-11-14  6:34 [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers Anshuman Khandual
@ 2023-11-14 15:12 ` Edgecombe, Rick P
  0 siblings, 0 replies; 2+ messages in thread
From: Edgecombe, Rick P @ 2023-11-14 15:12 UTC (permalink / raw)
  To: linux-mm, anshuman.khandual; +Cc: corbet, linux-doc, linux-kernel, akpm

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-14 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14  6:34 [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers Anshuman Khandual
2023-11-14 15:12 ` Edgecombe, Rick P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox