Skip to content

mm/vma: some more minor changes

Anshuman Khandual linux-mm linuxppc-dev lkml 2 versions – Applied

Status from this message: [merged] mm-vma-make-is_vma_temporary_stack-available-for-general-use.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied 3/3
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Moved VM_NO_KHUGEPAGED after VM_SPECIAL with a comment per Vlastimil
- Renamed is_vma_temporary_stack() as vma_is_temporary_stack() per Vlastimil

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/vma: Move VM_NO_KHUGEPAGED into generic headerinclude/linux/mm.h mm/khugepaged.c+3 -31 replyApplied
2/3mm/vma: Make vma_is_foreign() available for general usearch/powerpc/mm/book3s64/pkeys.c arch/x86/include/asm/mmu_context.h include/linux/mm.h+11 -270 repliesApplied
3/3mm/vma: Make is_vma_temporary_stack() available for general useinclude/linux/huge_mm.h include/linux/mm.h mm/khugepaged.c +2 more+18 -201 replyApplied

Reviews trailers per patch

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

PatchVlastimil Babka
1/3A-b
2/3A-b
3/3A-b

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

Read the v2 thread

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

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 <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Andrew Morton <[email protected]>

Changes in V2:

- Moved VM_NO_KHUGEPAGED after VM_SPECIAL with a comment per Vlastimil
- Renamed is_vma_temporary_stack() as vma_is_temporary_stack() per Vlastimil

Changes in V1: (https://patchwork.kernel.org/cover/11405177/)

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            |  4 +---
 include/linux/mm.h                 | 29 ++++++++++++++++++++++++++++-
 mm/khugepaged.c                    |  4 +---
 mm/mremap.c                        |  2 +-
 mm/rmap.c                          | 16 +---------------
 7 files changed, 32 insertions(+), 50 deletions(-)
Signature · 1 line
2.20.1