Re: [PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags

From
Jesper Nilsson <jesper.nilsson@axis.com>
Date
2016-10-17 09:22:46
Also in
ceph-devel, dri-devel, intel-gfx, kvm, linux-alpha, linux-arm-kernel, linux-fbdev, linux-fsdevel, linux-media, linux-mips, linux-mm, linux-rdma, linux-s390, linux-samsung-soc, linux-scsi, linux-sh, lkml, netdev, sparclinux
Reply to
Lorenzo Stoakes, 2016-10-13
On Thu, Oct 13, 2016 at 01:20:16AM +0100, Lorenzo Stoakes wrote:
This patch removes the write and force parameters from get_user_pages() and
replaces them with a gup_flags parameter 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 <redacted>
---
 arch/cris/arch-v32/drivers/cryptocop.c                 |  4 +---
For the CRIS part:

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com
Thread (38 messages) 38 messages, 7 authors, last reply 2016-10-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help