lkml.org 
[lkml]   [2021]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC 1/3] mm: ptep_clear() page table helper
On Wed, Nov 17, 2021 at 3:52 AM Anshuman Khandual
<anshuman.khandual@arm.com> wrote:
>
>
>
> 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 ?

You are right, I need to replace it in mm/debug_vm_pgtable.c as well.
I will do it in the next version.

Thanks,
Pasha

\
 
 \ /
  Last update: 2021-11-17 17:45    [W:0.079 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site