Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501810

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

From Jesper Nilsson <jesper.nilsson@axis.com>
Newsgroups linux.kernel
Subject Re: [PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags
Date 2016-10-17 11:30 +0200
Message-ID <stcp3-1Cc-13@gated-at.bofh.it> (permalink)
References <srC4h-3JZ-3@gated-at.bofh.it> <srFYd-6TN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <lstoakes@gmail.com>
> ---
>  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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags Lorenzo Stoakes <lstoakes@gmail.com> - 2016-10-13 06:40 +0200
  Re: [PATCH 06/10] mm: replace get_user_pages() write/force  parameters with gup_flags Jesper Nilsson <jesper.nilsson@axis.com> - 2016-10-17 11:30 +0200
  Re: [PATCH 06/10] mm: replace get_user_pages() write/force  parameters with gup_flags Jan Kara <jack@suse.cz> - 2016-10-19 11:10 +0200

csiph-web