Re: [PATCH 16/26] mm: Provide get_user_pages_unlocked()

2013-10-02 Thread Jan Kara
On Wed 02-10-13 12:28:11, KOSAKI Motohiro wrote: > (10/2/13 10:27 AM), 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 Ka

Re: [PATCH 16/26] mm: Provide get_user_pages_unlocked()

2013-10-02 Thread KOSAKI Motohiro
(10/2/13 10:27 AM), 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 > --- > include/linux/mm.h | 14 ++ > 1 fi

Re: [PATCH 16/26] mm: Provide get_user_pages_unlocked()

2013-10-02 Thread Christoph Hellwig
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 Seem like this should be the defau

[PATCH 16/26] mm: Provide get_user_pages_unlocked()

2013-10-02 Thread Jan Kara
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 --- include/linux/mm.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/lin