Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
- Subject: Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
- From: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
- Date: Mon, 7 Nov 2016 11:49:18 +0100
- Cc: linux-mm@xxxxxxxxx, devel@xxxxxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, Rik van Riel <riel@xxxxxxxxxx>, Jan Kara <jack@xxxxxxx>, kvm@xxxxxxxxxxxxxxx, linux-cris-kernel@xxxxxxxx, linux-rdma@xxxxxxxxxxxxxxx, Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, Hugh Dickins <hughd@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, Michal Hocko <mhocko@xxxxxxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, linux-media@xxxxxxxxxxxxxxx
- In-reply-to: <20161031100228.17917-2-lstoakes@gmail.com>
- References: <20161031100228.17917-1-lstoakes@gmail.com> <20161031100228.17917-2-lstoakes@gmail.com>
- User-agent: Mutt/1.5.23 (2014-03-12)
On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
> This patch adds an int *locked parameter to get_user_pages() to allow
> VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
>
> It additionally clears the way for get_user_pages_locked() to be removed as its
> sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour
> when faulting in pages.
>
> It should not introduce any functional changes, however it does allow for
> subsequent changes to get_user_pages() callers to take advantage of
> VM_FAULT_RETRY.
For the cris-part:
Acked-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
> Signed-off-by: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]