From: Pasha Tatashin <pasha.tatashin@soleen.com>
To: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
Linux Doc Mailing List <linux-doc@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
David Rientjes <rientjes@google.com>,
Paul Turner <pjt@google.com>,
weixugc@google.com, Greg Thelen <gthelen@google.com>,
Ingo Molnar <mingo@redhat.com>, Jonathan Corbet <corbet@lwn.net>,
Will Deacon <will@kernel.org>, Mike Rapoport <rppt@kernel.org>,
Kees Cook <keescook@chromium.org>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
masahiroy@kernel.org, Sami Tolvanen <samitolvanen@google.com>,
Dave Hansen <dave.hansen@linux.intel.com>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)"
<x86@kernel.org>,
frederic@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
"Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
Subject: Re: [RFC 1/3] mm: ptep_clear() page table helper
Date: Wed, 17 Nov 2021 11:43:55 -0500 [thread overview]
Message-ID: <CA+CK2bDCApyAB2X9v8LH8Z2v18Fk19RYJ_qiucFUrX07N5g3hg@mail.gmail.com> (raw)
In-Reply-To: <e461ba08-0aa8-e405-6383-5d921443135a@arm.com>
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
next prev parent reply other threads:[~2021-11-17 16:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 22:00 [RFC 0/3] page table check Pasha Tatashin
2021-11-16 22:00 ` [RFC 1/3] mm: ptep_clear() page table helper Pasha Tatashin
2021-11-17 8:51 ` Anshuman Khandual
2021-11-17 16:43 ` Pasha Tatashin [this message]
2021-11-16 22:00 ` [RFC 2/3] mm: page table check Pasha Tatashin
2021-11-17 8:08 ` Jonathan Corbet
2021-11-17 16:47 ` Pasha Tatashin
2021-11-16 22:00 ` [RFC 3/3] x86: mm: add x86_64 support for " Pasha Tatashin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+CK2bDCApyAB2X9v8LH8Z2v18Fk19RYJ_qiucFUrX07N5g3hg@mail.gmail.com \
--to=pasha.tatashin@soleen.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@linux.ibm.com \
--cc=anshuman.khandual@arm.com \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=frederic@kernel.org \
--cc=gthelen@google.com \
--cc=hpa@zytor.com \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=masahiroy@kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=pjt@google.com \
--cc=rientjes@google.com \
--cc=rppt@kernel.org \
--cc=samitolvanen@google.com \
--cc=tglx@linutronix.de \
--cc=weixugc@google.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox