Re: [PATCH 0/3] mm/mmap.c: don't unmap the overlapping VMA(s)
From: Kirill A. Shutemov
Date: Sat Apr 02 2016 - 17:55:08 EST
On Sat, Apr 02, 2016 at 09:17:31PM +0200, Piotr Kwapulinski wrote:
> @@ -19,6 +19,7 @@
> #define MAP_TYPE 0x0f /* Mask for type of mapping */
> #define MAP_FIXED 0x10 /* Interpret addr exactly */
> #define MAP_ANONYMOUS 0x20 /* don't use a file */
> +#define MAP_DONTUNMAP 0x40 /* don't unmap overlapping VMA */
NAK.
arch/powerpc/include/uapi/asm/mman.h:#define MAP_NORESERVE 0x40 /* don't reserve swap pages */
arch/sparc/include/uapi/asm/mman.h:#define MAP_NORESERVE 0x40 /* don't reserve swap pages */
arch/x86/include/uapi/asm/mman.h:#define MAP_32BIT 0x40 /* only give out 32bit addresses */
--
Kirill A. Shutemov