Re: [RFC 1/3] mm: ptep_clear() page table helper
From: Anshuman Khandual
Date: Wed Nov 17 2021 - 03:52:03 EST
On 11/17/21 3:30 AM, Pasha Tatashin wrote:
> diff --git a/Documentation/vm/arch_pgtable_helpers.rst b/Documentation/vm/arch_pgtable_helpers.rst
> index 552567d863b8..fbe06ec75370 100644
> --- a/Documentation/vm/arch_pgtable_helpers.rst
> +++ b/Documentation/vm/arch_pgtable_helpers.rst
> @@ -66,9 +66,11 @@ PTE Page Table Helpers
> +---------------------------+--------------------------------------------------+
> | pte_mknotpresent | Invalidates a mapped PTE |
> +---------------------------+--------------------------------------------------+
> -| ptep_get_and_clear | Clears a PTE |
> +| ptep_clear | Clears a PTE |
> +---------------------------+--------------------------------------------------+
> -| ptep_get_and_clear_full | Clears a PTE |
> +| ptep_get_and_clear | Clears and returns PTE |
> ++---------------------------+--------------------------------------------------+
> +| ptep_get_and_clear_full | Clears and returns PTE (batched PTE unmap) |
> +---------------------------+--------------------------------------------------+
> | ptep_test_and_clear_young | Clears young from a PTE |
> +---------------------------+--------------------------------------------------+
Just curious. This does not have a corresponding change in mm/debug_vm_pgtable.c ?