Skip to content

reapply: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

Andrea Arcangeli linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask""include/linux/gfp.h mm/huge_memory.c mm/mempolicy.c +1 more+22 -511 reply
2/2Revert "mm, thp: restore node-local hugepage allocations"include/linux/mempolicy.h mm/huge_memory.c mm/mempolicy.c+29 -1720 replies

Reviews trailers per patch

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

PatchMichal HockoMel Gorman
1/2A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] reapply: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

Hello,

The fixes for what was originally reported as "pathological THP behavior" we rightfully reverted to be sure not to introduced regressions at end of a merge window after a severe regression report from the kernel bot. We can safely re-apply them now that we had time to analyze the problem.

The mm process worked fine, because the good fixes were eventually committed upstream without excessive delay.

The regression reported by the kernel bot however forced us to revert the good fixes to be sure not to introduce regressions and to give us the time to analyze the issue further. The silver lining is that this extra time allowed to think more at this issue and also plan for a future direction to improve things further in terms of THP NUMA locality.

Thank you,
Andrea

Andrea Arcangeli (2):
Revert "Revert "mm, thp: consolidate THP gfp handling into
alloc_hugepage_direct_gfpmask""
Revert "mm, thp: restore node-local hugepage allocations"

 include/linux/gfp.h       | 12 +++------
 include/linux/mempolicy.h |  2 ++
 mm/huge_memory.c          | 51 ++++++++++++++++++++++++---------------
 mm/mempolicy.c            | 34 +++-----------------------
 mm/shmem.c                |  2 +-
 5 files changed, 42 insertions(+), 59 deletions(-)