Skip to content

asm-generic: clean up asm/mman.h

Arnd Bergmann linux-arch linux-mips linux-mm linux-parisc linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5asm-generic: cosmetic updates to uapi/asm/mman.harch/alpha/include/uapi/asm/mman.h arch/mips/include/uapi/asm/mman.h arch/parisc/include/uapi/asm/mman.h +2 more+129 -1153 replies
2/5asm-generic: move MAP_* flags from mman-common.h to mman.harch/powerpc/include/uapi/asm/mman.h arch/sparc/include/uapi/asm/mman.h include/uapi/asm-generic/mman-common.h +2 more+57 -161 reply
3/5asm-generic: use asm-generic/mman-common.h on mips and xtensaarch/alpha/include/uapi/asm/mman.h arch/mips/include/uapi/asm/mman.h arch/parisc/include/uapi/asm/mman.h +2 more+9 -1291 reply
4/5asm-generic: use asm-generic/mman-common.h on parisc and alphaarch/alpha/include/uapi/asm/mman.h arch/parisc/include/uapi/asm/mman.h include/uapi/asm-generic/mman-common.h+13 -1262 replies
5/5mm: Remove MAP_UNINITIALIZED supportDocumentation/admin-guide/mm/nommu-mmap.rst arch/alpha/include/uapi/asm/mman.h arch/mips/include/uapi/asm/mman.h +10 more+4 -614 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonLorenzo Stoakes
1/5A-b
2/5
3/5
4/5R-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] asm-generic: clean up asm/mman.h

From: Arnd Bergmann <[email protected]>

While thinking about the changes to linux/mman.h in
https://lore.kernel.org/all/[email protected]/
I ended up trying to clean up the duplicate definitions in order to better see what's in there, and then I found a clash between two MAP_* flags.

Here is my current state, lightly tested. Please have a look at the last patch in particular.

Arnd

Arnd Bergmann (5):
asm-generic: cosmetic updates to uapi/asm/mman.h
asm-generic: move MAP_* flags from mman-common.h to mman.h
asm-generic: use asm-generic/mman-common.h on mips and xtensa
asm-generic: use asm-generic/mman-common.h on parisc and alpha [RFC] mm: Remove MAP_UNINITIALIZED support

 Documentation/admin-guide/mm/nommu-mmap.rst | 10 +--
 arch/alpha/include/uapi/asm/mman.h          | 93 ++++++-------------
 arch/mips/include/uapi/asm/mman.h           | 95 +++-----------------
 arch/parisc/include/uapi/asm/mman.h         | 79 ++++-------------
 arch/powerpc/include/uapi/asm/mman.h        | 11 +++
 arch/sh/configs/rsk7264_defconfig           |  1 -
 arch/sparc/include/uapi/asm/mman.h          | 12 +++
 arch/xtensa/include/uapi/asm/mman.h         | 98 +++------------------
 fs/binfmt_elf_fdpic.c                       |  3 +-
 include/linux/mman.h                        |  4 -
 include/uapi/asm-generic/mman-common.h      | 31 +++----
 include/uapi/asm-generic/mman.h             | 17 ++++
 include/uapi/linux/mman.h                   |  5 ++
 mm/Kconfig                                  | 22 -----
 mm/nommu.c                                  |  4 +-
 15 files changed, 125 insertions(+), 360 deletions(-)
Signature · 34 lines
2.39.2

Cc: "Jason A. Donenfeld" <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Andreas Larsson <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Liam R. Howlett <[email protected]> 
Cc: Lorenzo Stoakes <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Vladimir Murzin <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]