diff options
author | Mike Kravetz <mike.kravetz@oracle.com> | 2017-02-22 15:42:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-22 16:41:28 -0800 |
commit | fa4d75c1de13299c61b5e18a1ae46bc00888b599 (patch) | |
tree | 73ca3cf8aac2fa991fc7310658145d49772f0b49 /virt | |
parent | 09fa5296a40d01e014b4851def20b975feb98fd5 (diff) | |
download | op-kernel-dev-fa4d75c1de13299c61b5e18a1ae46bc00888b599.zip op-kernel-dev-fa4d75c1de13299c61b5e18a1ae46bc00888b599.tar.gz |
userfaultfd: hugetlbfs: add copy_huge_page_from_user for hugetlb userfaultfd support
userfaultfd UFFDIO_COPY allows user level code to copy data to a page at
fault time. The data is copied from user space to a newly allocated
huge page. The new routine copy_huge_page_from_user performs this copy.
Link: http://lkml.kernel.org/r/20161216144821.5183-17-aarcange@redhat.com
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions