[PATCH 0/3] mm/vma: some more minor changes

From: Anshuman Khandual
Date: Tue Feb 25 2020 - 23:51:16 EST


The motivation here is to consolidate VMA flags and helpers in generic
memory header and reduce code duplication when ever applicable. If there
are other possible similar instances which might be missing here, please
do let me me know. I will be happy to incorporate them.

This series is based on v5.6-rc3. This series has been build tested on
multiple platforms but boot tested only on arm64 and x86.

Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-mm@xxxxxxxxx

Anshuman Khandual (3):
mm/vma: Move VM_NO_KHUGEPAGED into generic header
mm/vma: Make vma_is_foreign() available for general use
mm/vma: Make is_vma_temporary_stack() available for general use

arch/powerpc/mm/book3s64/pkeys.c | 12 ------------
arch/x86/include/asm/mmu_context.h | 15 ---------------
include/linux/huge_mm.h | 2 --
include/linux/mm.h | 28 +++++++++++++++++++++++++++-
mm/khugepaged.c | 2 --
mm/rmap.c | 14 --------------
6 files changed, 27 insertions(+), 46 deletions(-)

--
2.20.1