[PATCH v1 0/3] mm: minor cleanups around NUMA hinting

From: David Hildenbrand
Date: Thu Aug 25 2022 - 12:50:16 EST


Working on some GUP cleanups (e.g., getting rid of some FOLL_ flags) and
preparing for other GUP changes (getting rid of FOLL_FORCE|FOLL_WRITE for
for taking a R/O longterm pin), this is something I can easily send out
independently.

Get rid of FOLL_NUMA, allow FOLL_FORCE access to PROT_NONE mapped pages
in GUP-fast, and fixup some documentation around NUMA hinting.

Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Mel Gorman <mgorman@xxxxxxx>
Cc: Jason Gunthorpe <jgg@xxxxxxxxxx>
Cc: John Hubbard <jhubbard@xxxxxxxxxx>
Cc: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx>
Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Cc: Peter Xu <peterx@xxxxxxxxxx>

David Hildenbrand (3):
mm/gup: replace FOLL_NUMA by gup_can_follow_protnone()
mm/gup: use gup_can_follow_protnone() also in GUP-fast
mm: fixup documentation regarding pte_numa() and PROT_NUMA

include/linux/mm.h | 16 +++++++++++++++-
include/linux/mm_types.h | 12 ++++++------
mm/gup.c | 26 +++++---------------------
mm/huge_memory.c | 2 +-
4 files changed, 27 insertions(+), 29 deletions(-)

--
2.37.1