path: root/mm/process_vm_access.c
diff options
authorJohn Hubbard <>2020-01-30 22:13:32 -0800
committerLinus Torvalds <>2020-01-31 10:30:38 -0800
commitbdffe23eee672fcaa732198c3661f7c1302c6bfa (patch)
tree8f06cfbf828c60f7bbce2a38d2e187ce581565cc /mm/process_vm_access.c
parentaa4b87fe9ea34a1816dcb99c537d5726b80ed452 (diff)
mm/gup_benchmark: use proper FOLL_WRITE flags instead of hard-coding "1"
Fix the gup benchmark flags to use the symbolic FOLL_WRITE, instead of a hard-coded "1" value. Also, clean up the filtering of gup flags a little, by just doing it once before issuing any of the get_user_pages*() calls. This makes it harder to overlook, instead of having little "gup_flags & 1" phrases in the function calls. Link: Signed-off-by: John Hubbard <> Reviewed-by: Ira Weiny <> Cc: Alex Williamson <> Cc: Aneesh Kumar K.V <> Cc: Björn Töpel <> Cc: Christoph Hellwig <> Cc: Daniel Vetter <> Cc: Dan Williams <> Cc: Hans Verkuil <> Cc: Jan Kara <> Cc: Jason Gunthorpe <> Cc: Jason Gunthorpe <> Cc: Jens Axboe <> Cc: Jerome Glisse <> Cc: Jonathan Corbet <> Cc: Kirill A. Shutemov <> Cc: Leon Romanovsky <> Cc: Mauro Carvalho Chehab <> Cc: Mike Rapoport <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions