lkml.org 
[lkml]   [2013]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 16/26] mm: Provide get_user_pages_unlocked()
On Wed, Oct 02, 2013 at 04:27:57PM +0200, Jan Kara wrote:
> Provide a wrapper for get_user_pages() which takes care of acquiring and
> releasing mmap_sem. Using this function reduces amount of places in
> which we deal with mmap_sem.
>
> Signed-off-by: Jan Kara <jack@suse.cz>

Seem like this should be the default one and the one without the locked
should be __unlocked. Maybe a grand rename is in order?


get_user_pages_fast -> get_user_pages
get_user_pages_unlocked -> __get_user_pages
get_user_pages_unlocked -> __get_user_pages_locked

steering people to the most sensible ones by default?



\
 
 \ /
  Last update: 2013-10-02 18:41    [W:0.076 / U:2.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site