diff options
author | 2024-02-27 23:42:01 +1300 | |
---|---|---|
committer | 2024-03-06 13:04:18 -0800 | |
commit | ac96cc4d1ceda01d08deda1e45b9f1b55b0624d2 (patch) | |
tree | c81cbf098c342a8df2539e34d90ccfd72a76b467 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mm: remove cast from page_to_nid() (diff) | |
download | wireguard-linux-ac96cc4d1ceda01d08deda1e45b9f1b55b0624d2.tar.xz wireguard-linux-ac96cc4d1ceda01d08deda1e45b9f1b55b0624d2.zip |
mm: make folio_pte_batch available outside of mm/memory.c
madvise, mprotect and some others might need folio_pte_batch to check if a
range of PTEs are completely mapped to a large folio with contiguous
physical addresses. Let's make it available in mm/internal.h.
While at it, add proper kernel doc and sanity-check more input parameters
using two additional VM_WARN_ON_FOLIO().
[21cnbao@gmail.com: build fix]
Link: https://lkml.kernel.org/r/CAGsJ_4wWzG-37D82vqP_zt+Fcbz+URVe5oXLBc4M5wbN8A_gpQ@mail.gmail.com
[david@redhat.com: improve the doc for the exported func]
Link: https://lkml.kernel.org/r/20240227104201.337988-1-21cnbao@gmail.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
Suggested-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Lance Yang <ioworker0@gmail.com>
Cc: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions