diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2015-02-12 02:27:28 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 04:06:05 +0300 |
commit | 0664e57ff0c68cbca012a45a38288fa277eb6795 (patch) | |
tree | 6f660902ba6ae3c834182e15165143b9a57b2477 /virt/kvm/eventfd.c | |
parent | 7e339128496284cc21977fba5416166ee81f5172 (diff) | |
download | linux-0664e57ff0c68cbca012a45a38288fa277eb6795.tar.xz |
mm: gup: kvm use get_user_pages_unlocked
Use the more generic get_user_pages_unlocked which has the additional
benefit of passing FAULT_FLAG_ALLOW_RETRY at the very first page fault
(which allows the first page fault in an unmapped area to be always able
to block indefinitely by being allowed to release the mmap_sem).
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Andres Lagar-Cavilla <andreslc@google.com>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Peter Feiner <pfeiner@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/eventfd.c')
0 files changed, 0 insertions, 0 deletions