linux-next: manual merge of the fs-next tree with the mm tree

Mark Brown posted 1 patch 1 week ago
There is a newer version of this series
linux-next: manual merge of the fs-next tree with the mm tree
Posted by Mark Brown 1 week ago
Hi all,

Today's linux-next merge of the fs-next tree got a conflict in:

  fs/coredump.c

between commit:

  85082b509089a ("mm: rename is_vm_hugetlb_page() to vma_is_hugetlb()")

from the mm tree and commit:

  ed84b0b1d0bec ("coredump: select memory types to include")

from the fs-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc fs/coredump.c
index 4d03826dd2498,668debe0cb97f..0000000000000
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@@ -1608,10 -1831,12 +1831,12 @@@ static unsigned long vma_dump_size(stru
  	}
  
  	/* Hugetlb memory check */
 -	if (is_vm_hugetlb_page(vma)) {
 +	if (vma_is_hugetlb(vma)) {
- 		if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED))
+ 		if ((vma->vm_flags & VM_SHARED) &&
+ 		    COREDUMP_MEMORY_TYPE_INCLUDE(memory_types, HUGETLB_SHARED))
  			goto whole;
- 		if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE))
+ 		if (!(vma->vm_flags & VM_SHARED) &&
+ 		    COREDUMP_MEMORY_TYPE_INCLUDE(memory_types, HUGETLB_PRIVATE))
  			goto whole;
  		return 0;
  	}