On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
This patch adds an int *locked parameter to get_user_pages() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
It additionally clears the way for get_user_pages_locked() to be removed as its sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour when faulting in pages.
It should not introduce any functional changes, however it does allow for subsequent changes to get_user_pages() callers to take advantage of VM_FAULT_RETRY.
For the cris-part: Acked-by: Jesper Nilsson jesper.nilsson@axis.com
Signed-off-by: Lorenzo Stoakes lstoakes@gmail.com
/^JN - Jesper Nilsson