Skip to contentSkip to conversation

mm-next: manual merge of the akpm/mm-unstable branch

PATCH David Hildenbrand (Arm) 1 participant 1 message Nov 26

Subsystems (2)
lore
Share & tools
lore

David Hildenbrand (Arm)

author maintainer
#0 lore raw

Hi,

today's (and yesterday's ;) ) mm-next merge of the akpm/mm-unstable branch tree got a conflict in:

mm/khugepaged.c

between the commit:

0d100a39e288 mm: khugepaged: ignore MADV_HUGEPAGE for shadow stacks

from the core/for-next branch and the commit:

e94cbda0f126 mm/madvise: convert madvise_vma_behavior() to use vma_flags_t

from the akpm/mm-unstable branch.

I resolved the conflicts manually (trivial):

mm/khugepaged.c +0 -5
index a77235c78a5e..34bb22b73152 100644
@@ -383,16 +383,11 @@ int hugepage_madvise(struct vm_area_struct *vma,
 {
      switch (advice) {
      case MADV_HUGEPAGE:
-<<<<<<< HEAD
              /* PTE batching doesn't work reliably. */
              if (vma_test_single_mask(vma, VMA_SHADOW_STACK))
                      break;
-             *vm_flags &= ~VM_NOHUGEPAGE;
-             *vm_flags |= VM_HUGEPAGE;
-=======
              vma_flags_clear(vma_flags, VMA_NOHUGEPAGE_BIT);
              vma_flags_set(vma_flags, VMA_HUGEPAGE_BIT);
->>>>>>> akpm/mm-unstable
              break;
      case MADV_NOHUGEPAGE:
              vma_flags_clear(vma_flags, VMA_HUGEPAGE_BIT);
Signature · 3 lines
Cheers,

David