Please sign in to comment.
mm: remove write/force parameters from __get_user_pages_unlocked()
This removes the redundant 'write' and 'force' parameters from __get_user_pages_unlocked() to make the use of FOLL_FORCE explicit in callers as use of this flag can result in surprising behaviour (and hence bugs) within the mm subsystem. Signed-off-by: Lorenzo Stoakes <firstname.lastname@example.org> Acked-by: Paolo Bonzini <email@example.com> Reviewed-by: Jan Kara <firstname.lastname@example.org> Acked-by: Michal Hocko <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...
Showing with 34 additions and 19 deletions.