Re: [PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Michal Hocko
On Thu 27-10-16 12:55:27, Michal Hocko wrote: > On Thu 27-10-16 10:51:40, Lorenzo Stoakes wrote: > > This patch adds a int *locked parameter to get_user_pages_remote() to allow > > VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). > > > > Taking into account the previous

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Michal Hocko
On Thu 27-10-16 12:55:27, Michal Hocko wrote: > On Thu 27-10-16 10:51:40, Lorenzo Stoakes wrote: > > This patch adds a int *locked parameter to get_user_pages_remote() to allow > > VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). > > > > Taking into account the previous

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Michal Hocko
On Thu 27-10-16 10:51:40, Lorenzo Stoakes wrote: > This patch adds a int *locked parameter to get_user_pages_remote() to allow > VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). > > Taking into account the previous adjustments to get_user_pages*() functions > allowing for

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Michal Hocko
On Thu 27-10-16 10:51:40, Lorenzo Stoakes wrote: > This patch adds a int *locked parameter to get_user_pages_remote() to allow > VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). > > Taking into account the previous adjustments to get_user_pages*() functions > allowing for

[PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Lorenzo Stoakes
This patch adds a int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). Taking into account the previous adjustments to get_user_pages*() functions allowing for the passing of gup_flags, we are now in a position where

[PATCH 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Lorenzo Stoakes
This patch adds a int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). Taking into account the previous adjustments to get_user_pages*() functions allowing for the passing of gup_flags, we are now in a position where