Skip to content

mm: minor cleanups around NUMA hinting

David Hildenbrand linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-gup-use-gup_can_follow_protnone-also-in-gup-fast.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/gup: replace FOLL_NUMA by gup_can_follow_protnone()include/linux/mm.h mm/gup.c mm/huge_memory.c+18 -120 repliesApplied
2/3mm/gup: use gup_can_follow_protnone() also in GUP-fastmm/gup.c+3 -1117 repliesApplied
3/3mm: fixup documentation regarding pte_numa() and PROT_NUMAinclude/linux/mm_types.h+6 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Jason Gunthorpe <[email protected]>
Cc John Hubbard <[email protected]>
Cc "Matthew Wilcox (Oracle)" <[email protected]>
Cc Andrea Arcangeli <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Peter Xu <[email protected]>

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(-)
Signature · 1 line
2.37.1