+ mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: tile: add missing definition of MAP_LOCKONFAULT
has been added to the -mm tree.  Its filename is
     mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Guenter Roeck <linux@xxxxxxxxxxxx>
Subject: tile: add missing definition of MAP_LOCKONFAULT

Commit c5827483ad6b ("mm: mmap: add mmap flag to request VM_LOCKONFAULT")
defines and uses MAP_LOCKONFAULT, but does not to add the definition for
the tile architecture. This results in the following build error.

include/linux/mman.h: In function 'calc_vm_flag_bits':
include/linux/mman.h:90:9: error: 'MAP_LOCKONFAULT' undeclared

Fixes: c5827483ad6b ("mm: mmap: add mmap flag to request VM_LOCKONFAULT")
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Eric B Munson <emunson@xxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/tile/include/uapi/asm/mman.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/tile/include/uapi/asm/mman.h~mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix arch/tile/include/uapi/asm/mman.h
--- a/arch/tile/include/uapi/asm/mman.h~mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix
+++ a/arch/tile/include/uapi/asm/mman.h
@@ -29,7 +29,7 @@
 #define MAP_DENYWRITE	0x0800		/* ETXTBSY */
 #define MAP_EXECUTABLE	0x1000		/* mark it as an executable */
 #define MAP_HUGETLB	0x4000		/* create a huge page mapping */
-
+#define MAP_LOCKONFAULT	0x100000	/* Lock pages after they are faulted in, do not prefault */
 
 /*
  * Flags for mlockall
_

Patches currently in -mm which might be from linux@xxxxxxxxxxxx are

mm-mlock-add-new-mlock-munlock-and-munlockall-system-calls-fix-4.patch
mm-mmap-add-mmap-flag-to-request-vm_lockonfault-fix.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux