diff options
author | 2022-11-23 10:43:19 +0530 | |
---|---|---|
committer | 2022-11-30 15:59:07 -0800 | |
commit | 7ce5f7e16afa82d33dc47d633404b8b1142a5e44 (patch) | |
tree | 9fa7a9ce9de3c2b1869b41973482d340b9a6bee4 /mm/interval_tree.c | |
parent | mm, compaction: fix fast_isolate_around() to stay within boundaries (diff) | |
download | linux-7ce5f7e16afa82d33dc47d633404b8b1142a5e44.tar.gz linux-7ce5f7e16afa82d33dc47d633404b8b1142a5e44.tar.bz2 linux-7ce5f7e16afa82d33dc47d633404b8b1142a5e44.zip |
documentation/mm: update pmd_present() in arch_pgtable_helpers.rst
Although pmd_present() might seem to indicate a valid and mapped pmd
entry, in reality it returns true when pmd_page() points to a valid page
in memory , regardless whether the pmd entry is mapped or not. Andrea
Arcangeli had earlier explained [1] the required semantics for
pmd_present(). This just updates the documentation for pmd_present() as
required.
[1] https://lore.kernel.org/lkml/20181017020930.GN30832@redhat.com/
Link: https://lkml.kernel.org/r/20221123051319.1312582-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/interval_tree.c')
0 files changed, 0 insertions, 0 deletions