-
- Downloads
mm: replace get_user_pages_unlocked() write/force parameters with gup_flags
This removes the 'write' and 'force' use from get_user_pages_unlocked() 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> Reviewed-by:
Jan Kara <jack@suse.cz> Acked-by:
Michal Hocko <mhocko@suse.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/mips/mm/gup.c 1 addition, 1 deletionarch/mips/mm/gup.c
- arch/s390/mm/gup.c 2 additions, 1 deletionarch/s390/mm/gup.c
- arch/sh/mm/gup.c 2 additions, 1 deletionarch/sh/mm/gup.c
- arch/sparc/mm/gup.c 2 additions, 1 deletionarch/sparc/mm/gup.c
- arch/x86/mm/gup.c 1 addition, 1 deletionarch/x86/mm/gup.c
- drivers/media/pci/ivtv/ivtv-udma.c 2 additions, 2 deletionsdrivers/media/pci/ivtv/ivtv-udma.c
- drivers/media/pci/ivtv/ivtv-yuv.c 3 additions, 2 deletionsdrivers/media/pci/ivtv/ivtv-yuv.c
- drivers/scsi/st.c 2 additions, 3 deletionsdrivers/scsi/st.c
- drivers/video/fbdev/pvr2fb.c 2 additions, 2 deletionsdrivers/video/fbdev/pvr2fb.c
- include/linux/mm.h 1 addition, 1 deletioninclude/linux/mm.h
- mm/gup.c 4 additions, 10 deletionsmm/gup.c
- mm/nommu.c 2 additions, 9 deletionsmm/nommu.c
- mm/util.c 2 additions, 1 deletionmm/util.c
- net/ceph/pagevec.c 1 addition, 1 deletionnet/ceph/pagevec.c
Loading
Please register or sign in to comment