Re: [PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2015-01-16 Thread Kirill A. Shutemov
On Tue, Jan 13, 2015 at 05:37:54PM +0100, Andrea Arcangeli wrote: > 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 in

Re: [PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2015-01-13 Thread Andres Lagar-Cavilla
On Tue, Jan 13, 2015 at 8:37 AM, Andrea Arcangeli wrote: > 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 indefinite

[PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2015-01-13 Thread Andrea Arcangeli
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: Andr

Re: [PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2014-10-31 Thread Peter Feiner
On Wed, Oct 29, 2014 at 05:35:20PM +0100, Andrea Arcangeli wrote: > 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 in

Re: [PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2014-10-29 Thread Andres Lagar-Cavilla
On Wed Oct 29 2014 at 9:35:34 AM Andrea Arcangeli wrote: > > 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 indefini

[PATCH 5/5] mm: gup: kvm use get_user_pages_unlocked

2014-10-29 Thread Andrea Arcangeli
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: Andr