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

Andrea Arcangeli
2019-05-03T22:31:49Z

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(-)