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

2016-10-27 Thread Lorenzo Stoakes
This patch adds an int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). It additionally clears the way for __get_user_pages_unlocked() to be unexported as its sole remaining useful characteristic was to allow for

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

2016-10-27 Thread Lorenzo Stoakes
This patch adds an int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). It additionally clears the way for __get_user_pages_unlocked() to be unexported as its sole remaining useful characteristic was to allow for