Files
kernel_arpi/include/linux
Mike Rapoport b0506e488d userfaultfd: shmem: introduce vma_is_shmem
Currently userfault relies on vma_is_anonymous and vma_is_hugetlb to
ensure compatibility of a VMA with userfault.  Introduction of
vma_is_shmem allows detection if tmpfs backed VMAs, so that they may be
used with userfaultfd.  Current implementation presumes usage of
vma_is_shmem only by slow path routines in userfaultfd, therefore the
vma_is_shmem is not made inline to leave the few remaining free bits in
vm_flags.

Link: http://lkml.kernel.org/r/20161216144821.5183-30-aarcange@redhat.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Michael Rapoport <RAPOPORT@il.ibm.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-22 16:41:28 -08:00
..
2017-01-30 14:39:20 +01:00
2017-02-06 18:20:16 +02:00
2017-02-10 15:52:24 -05:00
2017-01-25 13:17:47 -05:00
2017-02-04 00:47:59 +01:00
2017-02-10 11:15:08 +01:00
2017-02-11 20:59:41 -05:00
2017-02-01 09:13:45 +01:00
2017-02-20 10:15:11 -05:00
2017-02-17 12:28:35 -05:00
2017-02-03 11:19:34 -05:00
2017-02-10 11:15:08 +01:00
2017-02-03 10:17:02 +01:00
2017-02-10 16:34:17 +00:00