Skip to contentSkip to conversation

linux-next: manual merge of the akpm-current tree with the parisc-hd tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Aug 22, 2017 – Sep 5, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Andrew,

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

arch/parisc/include/uapi/asm/mman.h

between commit:

1c190151447d ("parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE")

from the parisc-hd tree and commit:

115d20ededaf ("mm,fork: introduce MADV_WIPEONFORK")

from the akpm-current 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.

Signature · 20 lines
Cheers,
Stephen Rothwell

diff --cc arch/parisc/include/uapi/asm/mman.h
index 9a9c2fe4be50,f6eec376e5fa..000000000000
--- a/arch/parisc/include/uapi/asm/mman.h
+++ b/arch/parisc/include/uapi/asm/mman.h
@@@ -57,9 -60,9 +57,12 @@@
  					   overrides the coredump filter bits */
  #define MADV_DODUMP	70		/* Clear the MADV_NODUMP flag */
  
+ #define MADV_WIPEONFORK 71		/* Zero memory on fork, child only */
+ #define MADV_KEEPONFORK 72		/* Undo MADV_WIPEONFORK */
+ 
 +#define MADV_HWPOISON     100		/* poison a page for testing */
 +#define MADV_SOFT_OFFLINE 101		/* soft offline page for testing */
 +
  /* compatibility flags */
  #define MAP_FILE	0
  #define MAP_VARIABLE	0
#1 lore raw

Hi all,

Quoted 29 lines · On Tue, 22 Aug 2017 16:53:18 +1000 Stephen Rothwell <[email protected]>…

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

arch/parisc/include/uapi/asm/mman.h

between commit:

1c190151447d ("parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE")

from the parisc-hd tree and commit:

115d20ededaf ("mm,fork: introduce MADV_WIPEONFORK")

from the akpm-current 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.

arch/parisc/include/uapi/asm/mman.h +0 -0
diff --cc arch/parisc/include/uapi/asm/mman.h
index 9a9c2fe4be50,f6eec376e5fa..000000000000
@@@ -57,9 -60,9 +57,12 @@@
  					   overrides the coredump filter bits */
  #define MADV_DODUMP	70		/* Clear the MADV_NODUMP flag */

arch/parisc/include/uapi/asm/mman.h

Quoted 10 lines
arch/parisc/include/uapi/asm/mman.h +3 -0
 
+ #define MADV_WIPEONFORK 71		/* Zero memory on fork, child only */
+ #define MADV_KEEPONFORK 72		/* Undo MADV_WIPEONFORK */
+ 
 +#define MADV_HWPOISON     100		/* poison a page for testing */
 +#define MADV_SOFT_OFFLINE 101		/* soft offline page for testing */
 +
  /* compatibility flags */
  #define MAP_FILE	0
  #define MAP_VARIABLE	0

Just a reminder that the above conflict still exists.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 33 lines · Stephen Rothwell

Hi all,

Quoted 30 lines · On Tue, 22 Aug 2017 16:53:18 +1000 Stephen Rothwell <[email protected]>…

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

arch/parisc/include/uapi/asm/mman.h

between commit:

1c190151447d ("parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE")

from the parisc-hd tree and commit:

115d20ededaf ("mm,fork: introduce MADV_WIPEONFORK")

from the akpm-current 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.

arch/parisc/include/uapi/asm/mman.h +0 -0
diff --cc arch/parisc/include/uapi/asm/mman.h
index 9a9c2fe4be50,f6eec376e5fa..000000000000
@@@ -57,9 -60,9 +57,12 @@@
  					   overrides the coredump filter bits */
  #define MADV_DODUMP	70		/* Clear the MADV_NODUMP flag */
Quoted 11 lines
Quoted 9 lines

+ #define MADV_WIPEONFORK 71 /* Zero memory on fork, child only */
+ #define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK */
+
+#define MADV_HWPOISON 100 /* poison a page for testing */
+#define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
+
/* compatibility flags */
#define MAP_FILE 0
#define MAP_VARIABLE 0

Just a reminder that the above conflict still exists.

Thanks Stephen!

@Andrew, I can push the addition of those two MADV_ constants to arch/parisc/include/uapi/asm/mman.h through the parisc git tree, if you drop this part from your patchset.
Otherwise, just let me know how you prefer to solve this merge conflict.

Helge

#3 lore raw

Hi Helge,

Quoted 21 lines · On Tue, 5 Sep 2017 08:09:01 +0200 Helge Deller <[email protected]> wrote:
Quoted 9 lines
Quoted 9 lines
arch/parisc/include/uapi/asm/mman.h +0 -0
diff --cc arch/parisc/include/uapi/asm/mman.h
index 9a9c2fe4be50,f6eec376e5fa..000000000000
@@@ -57,9 -60,9 +57,12 @@@
  					   overrides the coredump filter bits */
  #define MADV_DODUMP	70		/* Clear the MADV_NODUMP flag */
Quoted 11 lines
Quoted 9 lines

+ #define MADV_WIPEONFORK 71 /* Zero memory on fork, child only */
+ #define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK */
+
+#define MADV_HWPOISON 100 /* poison a page for testing */
+#define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
+
/* compatibility flags */
#define MAP_FILE 0
#define MAP_VARIABLE 0

Just a reminder that the above conflict still exists.

Quoted 6 lines

Thanks Stephen!

@Andrew, I can push the addition of those two MADV_ constants to arch/parisc/include/uapi/asm/mman.h through the parisc git tree, if you drop this part from your patchset.
Otherwise, just let me know how you prefer to solve this merge conflict.

These simple conflicts are not really a problem (Linus is happy to cope with them). I just send these messages out for consistency and openness.

Signature · 2 lines
Cheers,
Stephen Rothwell