Skip to content

mm/page_alloc: gfp flags cleanups for alloc_contig_*()

David Hildenbrand linux-mm linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 26 repliesIn review 5 of 6 applied
  2. v2 posting 1/26 patches 0 repliesSuperseded
  3. v16 patches 7 repliesSuperseded

Changes in v2 from the cover letter

* "mm/page_alloc: forward the gfp flags from alloc_contig_range() to post_alloc_hook()"
-> Fixup patch description

Patches in v2 posting 2/2 5 of 6 applied

#Subject and filesSizeRepliesApplied
1/6mm/page_isolation: don't pass gfp flags to isolate_single_pageblock()mm/page_isolation.c+3 -53 replies
2/6mm/page_isolation: don't pass gfp flags to start_isolate_page_range()include/linux/page-isolation.h mm/memory_hotplug.c mm/page_alloc.c +1 more+4 -73 repliesApplied
3/6mm/page_alloc: make __alloc_contig_migrate_range() staticmm/internal.h mm/page_alloc.c+2 -73 repliesApplied
4/6mm/page_alloc: sort out the alloc_contig_range() gfp flags messmm/page_alloc.c+44 -414 repliesApplied
5/6mm/page_alloc: forward the gfp flags from alloc_contig_range() to post_alloc_hook()mm/page_alloc.c+5 -42 repliesApplied
6/6powernv/memtrace: use __GFP_ZERO with alloc_contig_pages()arch/powerpc/platforms/powernv/memtrace.c+6 -251 replyApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchZi YanVlastimil BabkaOscar SalvadorVishal Moola (Oracle)
1/6R-b R-b R-b R-b
2/6R-b R-b R-b R-b
3/6R-b R-b R-b R-b
4/6A-b R-b R-b
5/6R-b R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH RESEND v2 0/6] mm/page_alloc: gfp flags cleanups for alloc_contig_*()

For some reason v1 didn't make it to linux-mm; same with v2. Let's try a different SMTP server (gmail), maybe there are some issues with the RH one ...

Let's clean up the gfp flags handling, and support __GFP_ZERO, such that we can finally remove the TODO in memtrace code.

I did some alloc_contig_*() testing with virtio-mem and hugetlb; I did not test powernv/memtrace -- I cross-compiled it, though.

v1 -> v2:
* "mm/page_alloc: forward the gfp flags from alloc_contig_range() to post_alloc_hook()"
-> Fixup patch description

Cc Andrew Morton <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Zi Yan <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Naveen N Rao <[email protected]>
Cc Madhavan Srinivasan <[email protected]>

David Hildenbrand (6):
mm/page_isolation: don't pass gfp flags to isolate_single_pageblock() mm/page_isolation: don't pass gfp flags to start_isolate_page_range() mm/page_alloc: make __alloc_contig_migrate_range() static mm/page_alloc: sort out the alloc_contig_range() gfp flags mess mm/page_alloc: forward the gfp flags from alloc_contig_range() to
post_alloc_hook()
powernv/memtrace: use __GFP_ZERO with alloc_contig_pages()

 arch/powerpc/platforms/powernv/memtrace.c | 31 +++---------
 include/linux/page-isolation.h            |  2 +-
 mm/internal.h                             |  4 --
 mm/memory_hotplug.c                       |  3 +-
 mm/page_alloc.c                           | 62 +++++++++++++++++++----
 mm/page_isolation.c                       | 12 ++---
 6 files changed, 63 insertions(+), 51 deletions(-)

base-commit: 679694cdccaf75df589c2737f233954669a5f601

Signature · 1 line
2.47.1