Re: [PATCH 16/26] mm: Provide get_user_pages_unlocked()
From: Christoph Hellwig
Date: Wed Oct 02 2013 - 12:25:25 EST
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@xxxxxxx>
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/