linux-next: manual merge of the akpm-current tree with the parisc-hd tree
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
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.hbetween commit:
1c190151447d("parisc: AddMADV_HWPOISONandMADV_SOFT_OFFLINE")from the parisc-hd tree and commit:
115d20ededaf("mm,fork: introduceMADV_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@@@ -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
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.hbetween commit:
1c190151447d("parisc: AddMADV_HWPOISONandMADV_SOFT_OFFLINE")from the parisc-hd tree and commit:
115d20ededaf("mm,fork: introduceMADV_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@@@ -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_WIPEONFORK71 /* Zero memory on fork, child only */
+ #defineMADV_KEEPONFORK72 /* UndoMADV_WIPEONFORK*/
+
+#defineMADV_HWPOISON100 /* poison a page for testing */
+#defineMADV_SOFT_OFFLINE101 /* soft offline page for testing */
+
/* compatibility flags */
#defineMAP_FILE0
#defineMAP_VARIABLE0Just 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
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@@@ -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_WIPEONFORK71 /* Zero memory on fork, child only */
+ #defineMADV_KEEPONFORK72 /* UndoMADV_WIPEONFORK*/
+
+#defineMADV_HWPOISON100 /* poison a page for testing */
+#defineMADV_SOFT_OFFLINE101 /* soft offline page for testing */
+
/* compatibility flags */
#defineMAP_FILE0
#defineMAP_VARIABLE0Just a reminder that the above conflict still exists.
Quoted 6 lines
Thanks Stephen!
@Andrew, I can push the addition of those two
MADV_constants toarch/parisc/include/uapi/asm/mman.hthrough 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