Permalink
Browse files
mm: replace get_user_pages_remote() write/force parameters with gup_f…
…lags This removes the 'write' and 'force' from get_user_pages_remote() and replaces them with 'gup_flags' 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 <lstoakes@gmail.com> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Showing
with
40 additions
and 27 deletions.
- +5 −2 drivers/gpu/drm/etnaviv/etnaviv_gem.c
- +5 −1 drivers/gpu/drm/i915/i915_gem_userptr.c
- +5 −2 drivers/infiniband/core/umem_odp.c
- +7 −2 fs/exec.c
- +1 −1 include/linux/mm.h
- +4 −2 kernel/events/uprobes.c
- +7 −15 mm/gup.c
- +5 −1 mm/memory.c
- +1 −1 security/tomoyo/domain.c