diff for duplicates of <20171130082405.b77eknaiblgmpa4s@dhcp22.suse.cz>
diff --git a/a/1.txt b/N1/1.txt
index 88d67f9..5f82a27 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -59,4 +59,10 @@ index 385f3bfd5393..923bbb290875 100644
--
Michal Hocko
-SUSE Labs
\ No newline at end of file
+SUSE Labs
+
+--
+To unsubscribe, send a message with 'unsubscribe linux-mm' in
+the body to majordomo@kvack.org. For more info on Linux MM,
+see: http://www.linux-mm.org/ .
+Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 00bd6e2..419a7a5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -97,7 +97,13 @@
"\n",
"-- \n",
"Michal Hocko\n",
- "SUSE Labs"
+ "SUSE Labs\n",
+ "\n",
+ "--\n",
+ "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n",
+ "the body to majordomo\@kvack.org. For more info on Linux MM,\n",
+ "see: http://www.linux-mm.org/ .\n",
+ "Don't email: <a href=mailto:\"dont\@kvack.org\"> email\@kvack.org </a>"
]
-15122a7c54d582c9c23eb5ee2c25bff907c2877b08aec61f13c82c80a0a8b710
+adc807f8193679106b993c31cd935d09aeb6df6d0d1f9e79f88daaec82f99333
diff --git a/a/1.txt b/N2/1.txt
index 88d67f9..c884d37 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -1,6 +1,6 @@
Updated version based on feedback from John.
---
->From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001
+From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001
From: Michal Hocko <mhocko@suse.com>
Date: Wed, 29 Nov 2017 15:32:08 +0100
Subject: [PATCH] mmap.2: document new MAP_FIXED_SAFE flag
@@ -59,4 +59,10 @@ index 385f3bfd5393..923bbb290875 100644
--
Michal Hocko
-SUSE Labs
\ No newline at end of file
+SUSE Labs
+
+--
+To unsubscribe, send a message with 'unsubscribe linux-mm' in
+the body to majordomo@kvack.org. For more info on Linux MM,
+see: http://www.linux-mm.org/ .
+Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
\ No newline at end of file
diff --git a/a/content_digest b/N2/content_digest
index 00bd6e2..fc92e54 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -38,7 +38,7 @@
[
"Updated version based on feedback from John.\n",
"---\n",
- ">From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001\n",
+ "From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001\n",
"From: Michal Hocko <mhocko\@suse.com>\n",
"Date: Wed, 29 Nov 2017 15:32:08 +0100\n",
"Subject: [PATCH] mmap.2: document new MAP_FIXED_SAFE flag\n",
@@ -97,7 +97,13 @@
"\n",
"-- \n",
"Michal Hocko\n",
- "SUSE Labs"
+ "SUSE Labs\n",
+ "\n",
+ "--\n",
+ "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n",
+ "the body to majordomo\@kvack.org. For more info on Linux MM,\n",
+ "see: http://www.linux-mm.org/ .\n",
+ "Don't email: <a href=mailto:\"dont\@kvack.org\"> email\@kvack.org </a>"
]
-15122a7c54d582c9c23eb5ee2c25bff907c2877b08aec61f13c82c80a0a8b710
+867643b6d4294307af5b7ce8f8de7bfb59cf3bb767b610c57283e4b578708d5b
diff --git a/a/1.txt b/N3/1.txt
index 88d67f9..88d1391 100644
--- a/a/1.txt
+++ b/N3/1.txt
@@ -1,62 +1,2 @@
Updated version based on feedback from John.
----
->From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001
-From: Michal Hocko <mhocko@suse.com>
-Date: Wed, 29 Nov 2017 15:32:08 +0100
-Subject: [PATCH] mmap.2: document new MAP_FIXED_SAFE flag
-
-4.16+ kernels offer a new MAP_FIXED_SAFE flag which allows the caller to
-atomicaly probe for a given address range.
-
-[wording heavily updated by John Hubbard <jhubbard@nvidia.com>]
-Signed-off-by: Michal Hocko <mhocko@suse.com>
----
- man2/mmap.2 | 22 ++++++++++++++++++++++
- 1 file changed, 22 insertions(+)
-
-diff --git a/man2/mmap.2 b/man2/mmap.2
-index 385f3bfd5393..923bbb290875 100644
---- a/man2/mmap.2
-+++ b/man2/mmap.2
-@@ -225,6 +225,22 @@ will fail.
- Because requiring a fixed address for a mapping is less portable,
- the use of this option is discouraged.
- .TP
-+.BR MAP_FIXED_SAFE " (since Linux 4.16)"
-+Similar to MAP_FIXED with respect to the
-+.I
-+addr
-+enforcement, but different in that MAP_FIXED_SAFE never clobbers a pre-existing
-+mapped range. If the requested range would collide with an existing
-+mapping, then this call fails with
-+.B EEXIST.
-+This flag can therefore be used as a way to atomically (with respect to other
-+threads) attempt to map an address range: one thread will succeed; all others
-+will report failure. Please note that older kernels which do not recognize this
-+flag will typically (upon detecting a collision with a pre-existing mapping)
-+fall back a "non-MAP_FIXED" type of behavior: they will return an address that
-+is different than the requested one. Therefore, backward-compatible software
-+should check the returned address against the requested address.
-+.TP
- .B MAP_GROWSDOWN
- This flag is used for stacks.
- It indicates to the kernel virtual memory system that the mapping
-@@ -449,6 +465,12 @@ is not a valid file descriptor (and
- .B MAP_ANONYMOUS
- was not set).
- .TP
-+.B EEXIST
-+range covered by
-+.IR addr ,
-+.IR length
-+is clashing with an existing mapping.
-+.TP
- .B EINVAL
- We don't like
- .IR addr ,
---
-2.15.0
-
---
-Michal Hocko
-SUSE Labs
\ No newline at end of file
+---
\ No newline at end of file
diff --git a/a/content_digest b/N3/content_digest
index 00bd6e2..1978bbe 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -37,67 +37,7 @@
]
[
"Updated version based on feedback from John.\n",
- "---\n",
- ">From ade1eba229b558431581448e7d7838f0e1fe2c49 Mon Sep 17 00:00:00 2001\n",
- "From: Michal Hocko <mhocko\@suse.com>\n",
- "Date: Wed, 29 Nov 2017 15:32:08 +0100\n",
- "Subject: [PATCH] mmap.2: document new MAP_FIXED_SAFE flag\n",
- "\n",
- "4.16+ kernels offer a new MAP_FIXED_SAFE flag which allows the caller to\n",
- "atomicaly probe for a given address range.\n",
- "\n",
- "[wording heavily updated by John Hubbard <jhubbard\@nvidia.com>]\n",
- "Signed-off-by: Michal Hocko <mhocko\@suse.com>\n",
- "---\n",
- " man2/mmap.2 | 22 ++++++++++++++++++++++\n",
- " 1 file changed, 22 insertions(+)\n",
- "\n",
- "diff --git a/man2/mmap.2 b/man2/mmap.2\n",
- "index 385f3bfd5393..923bbb290875 100644\n",
- "--- a/man2/mmap.2\n",
- "+++ b/man2/mmap.2\n",
- "\@\@ -225,6 +225,22 \@\@ will fail.\n",
- " Because requiring a fixed address for a mapping is less portable,\n",
- " the use of this option is discouraged.\n",
- " .TP\n",
- "+.BR MAP_FIXED_SAFE \" (since Linux 4.16)\"\n",
- "+Similar to MAP_FIXED with respect to the\n",
- "+.I\n",
- "+addr\n",
- "+enforcement, but different in that MAP_FIXED_SAFE never clobbers a pre-existing\n",
- "+mapped range. If the requested range would collide with an existing\n",
- "+mapping, then this call fails with\n",
- "+.B EEXIST.\n",
- "+This flag can therefore be used as a way to atomically (with respect to other\n",
- "+threads) attempt to map an address range: one thread will succeed; all others\n",
- "+will report failure. Please note that older kernels which do not recognize this\n",
- "+flag will typically (upon detecting a collision with a pre-existing mapping)\n",
- "+fall back a \"non-MAP_FIXED\" type of behavior: they will return an address that\n",
- "+is different than the requested one. Therefore, backward-compatible software\n",
- "+should check the returned address against the requested address.\n",
- "+.TP\n",
- " .B MAP_GROWSDOWN\n",
- " This flag is used for stacks.\n",
- " It indicates to the kernel virtual memory system that the mapping\n",
- "\@\@ -449,6 +465,12 \@\@ is not a valid file descriptor (and\n",
- " .B MAP_ANONYMOUS\n",
- " was not set).\n",
- " .TP\n",
- "+.B EEXIST\n",
- "+range covered by\n",
- "+.IR addr ,\n",
- "+.IR length\n",
- "+is clashing with an existing mapping.\n",
- "+.TP\n",
- " .B EINVAL\n",
- " We don't like\n",
- " .IR addr ,\n",
- "-- \n",
- "2.15.0\n",
- "\n",
- "-- \n",
- "Michal Hocko\n",
- "SUSE Labs"
+ "---"
]
-15122a7c54d582c9c23eb5ee2c25bff907c2877b08aec61f13c82c80a0a8b710
+e5a0a58a388d58933fe0f0ddc3d2852354392c97867c0739614bdc903ec56ae1
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.