mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] fs-elf-drop-map_fixed-usage-from-elf_map-fix.patch removed from -mm tree
@ 2018-02-07 22:45 akpm
  0 siblings, 0 replies; 2+ messages in thread
From: akpm @ 2018-02-07 22:45 UTC (permalink / raw)
  To: avagin, mhocko, sfr, mm-commits


The patch titled
     Subject: mm: don't use the same value for MAP_FIXED_NOREPLACE and MAP_SYNC
has been removed from the -mm tree.  Its filename was
     fs-elf-drop-map_fixed-usage-from-elf_map-fix.patch

This patch was dropped because it was folded into mm-introduce-map_fixed_safe.patch

------------------------------------------------------
From: Andrei Vagin <avagin@openvz.org>
Subject: mm: don't use the same value for MAP_FIXED_NOREPLACE and MAP_SYNC

Link: http://lkml.kernel.org/r/20171218184916.24445-1-avagin@openvz.org
Fixes: ("fs, elf: drop MAP_FIXED usage from elf_map")
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/uapi/asm-generic/mman-common.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -puN include/uapi/asm-generic/mman-common.h~fs-elf-drop-map_fixed-usage-from-elf_map-fix include/uapi/asm-generic/mman-common.h
--- a/include/uapi/asm-generic/mman-common.h~fs-elf-drop-map_fixed-usage-from-elf_map-fix
+++ a/include/uapi/asm-generic/mman-common.h
@@ -26,7 +26,9 @@
 #else
 # define MAP_UNINITIALIZED 0x0		/* Don't support this flag */
 #endif
-#define MAP_FIXED_NOREPLACE	0x80000	/* MAP_FIXED which doesn't unmap underlying mapping */
+
+/* 0x0100 - 0x80000 flags are defined in asm-generic/mman.h */
+#define MAP_FIXED_NOREPLACE	0x100000	/* MAP_FIXED which doesn't unmap underlying mapping */
 
 /*
  * Flags for mlock
_

Patches currently in -mm which might be from avagin@openvz.org are

mm-introduce-map_fixed_safe.patch
procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps.patch
procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v2.patch
procfs-optimize-seq_pad-to-speed-up-proc-pid-maps.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [folded-merged] fs-elf-drop-map_fixed-usage-from-elf_map-fix.patch removed from -mm tree
@ 2018-02-07 22:48 akpm
  0 siblings, 0 replies; 2+ messages in thread
From: akpm @ 2018-02-07 22:48 UTC (permalink / raw)
  To: avagin, mhocko, sfr, mm-commits


The patch titled
     Subject: mm: don't use the same value for MAP_FIXED_NOREPLACE and MAP_SYNC
has been removed from the -mm tree.  Its filename was
     fs-elf-drop-map_fixed-usage-from-elf_map-fix.patch

This patch was dropped because it was folded into fs-elf-drop-map_fixed-usage-from-elf_map.patch

------------------------------------------------------
From: Andrei Vagin <avagin@openvz.org>
Subject: mm: don't use the same value for MAP_FIXED_NOREPLACE and MAP_SYNC

Link: http://lkml.kernel.org/r/20171218184916.24445-1-avagin@openvz.org
Fixes: ("fs, elf: drop MAP_FIXED usage from elf_map")
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/uapi/asm-generic/mman-common.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -puN include/uapi/asm-generic/mman-common.h~fs-elf-drop-map_fixed-usage-from-elf_map-fix include/uapi/asm-generic/mman-common.h
--- a/include/uapi/asm-generic/mman-common.h~fs-elf-drop-map_fixed-usage-from-elf_map-fix
+++ a/include/uapi/asm-generic/mman-common.h
@@ -26,7 +26,9 @@
 #else
 # define MAP_UNINITIALIZED 0x0		/* Don't support this flag */
 #endif
-#define MAP_FIXED_NOREPLACE	0x80000	/* MAP_FIXED which doesn't unmap underlying mapping */
+
+/* 0x0100 - 0x80000 flags are defined in asm-generic/mman.h */
+#define MAP_FIXED_NOREPLACE	0x100000	/* MAP_FIXED which doesn't unmap underlying mapping */
 
 /*
  * Flags for mlock
_

Patches currently in -mm which might be from avagin@openvz.org are

fs-elf-drop-map_fixed-usage-from-elf_map.patch
procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps.patch
procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v2.patch
procfs-optimize-seq_pad-to-speed-up-proc-pid-maps.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-07 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 22:45 [folded-merged] fs-elf-drop-map_fixed-usage-from-elf_map-fix.patch removed from -mm tree akpm
2018-02-07 22:48 akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).